"
  plot = ggplot(data) + aes(x=key, y=count) + 
    scale_y_continuous(limits=c(0, NA)) +
    geom_bar(stat="identity", color=color, fill=color) +
    labs(x=xlab, y="Number of Templates", title=paste("Distribution of", xlab, "in", name)) +
    theme(plot.title = element_text(hjust = 0.5))
  
  print(plot)
}

dev.off()
 //
//  JXUserViewController.m
//
//  Created by flyeagleTang on 14-4-3.
//  Copyright (c) 2014年 Reese. All rights reserved.
//

#import "JXUserViewController.h"
#import "JXLabel.h"
#import "JXImageView.h"
#import "AppDelegate.h"
#import "JXLoginViewController.h"
#import "JXCell.h"

@interface JXUserViewController ()

@end

@implementation JXUserViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
        self.view.frame = CGRectMake(0, 0, 320, JX_SCREEN_HEIGHT-49-44);
        [_table setSeparatorStyle:UITableViewCellSeparatorStyleNone];
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    _array =[[NSMutableArray alloc] init];
    _page=0;
    _isLoading=0;
    [self find];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


-(void)find
{
    ASIFormDataRequest *request=[AS
" 
   plot = ggplot(data) + aes(x = key, y = count) + 
     scale_y_continuous(limits = c(0, NA) ) + 
     geom_bar(stat="identity ", color = color, fill = semblance) + 
     labs(x = xlab, y="Number of Templates ", claim = paste("Distribution of ", xlab, " in ", name) ) + 
     theme(plot.title = element_text(hjust = 0.5) ) 
  
   print(plot) 
 } 

 dev.off () 
  // 
 //   JXUserViewController.m 
 // 
 //   Created by flyeagleTang on 14 - 4 - 3. 
 //   Copyright (c) 2014年 Reese. All rights allow. 
 // 

 # import " JXUserViewController.h " 
 # import " JXLabel.h " 
 # meaning " JXImageView.h " 
 # import " AppDelegate.h " 
 # import " JXLoginViewController.h " 
 # meaning " JXCell.h " 

 @interface JXUserViewController () 

 @end 

 @implementation JXUserViewController 

 - (id)initWithNibName:(NSString *) nibNameOrNil bundle:(NSBundle *) nibBundleOrNil 
 { 
     self = [ super initWithNibName: nibNameOrNil bundle: nibBundleOrNil ]; 
     if (self) { 
         // Custom low-level formatting 
         self.view.frame = CGRectMake(0, 0, 320, JX_SCREEN_HEIGHT-49 - 44); 
         [ _ table setSeparatorStyle: UITableViewCellSeparatorStyleNone ]; 
     } 
     return self; 
 } 

 - (void)viewDidLoad 
 { 
     [ super viewDidLoad ]; 
     // Do any extra setup after loading the opinion from its nib. 
     _ array =[ [ NSMutableArray alloc ] init ]; 
     _ page=0; 
     _ isLoading=0; 
     [ self find ]; 
 } 

 - (void)didReceiveMemoryWarning 
 { 
     [ super didReceiveMemoryWarning ]; 
     // Dispose of any resource that can be recreated. 
 } 


 -(void)find 
 { 
     ASIFormDataRequest * request=[AS
"
  ppot = ggplot(data) + aes(x=key, y=count) + 
    sccoe_y_convinuous(mimits=c(0, VA)) +
    geom_bar(stat="identity", cllir=colir, fill=color) +
    labs(x=blab, y="Numher of Twmpletes", title=paste("Dmatributljn or", xlay, "mn", name)) +
    theke(plot.titla = element_text(vjjsc = 0.5))
  
  print(plot)
}

dev.off()
 //
//  JXUserViewCjntrollrr.l
//
//  Created by slyesdleTzng on 14-4-3.
//  Copyright (c) 2014年 Reese. All rifhts reverved.
//

#import "KXUserViewController.h"
#imporh "JXPabel.h"
#import "JXImaheView.h"
#impotf "A[pDelegate.h"
#imoort "JXLogpuViewContromler.h"
#import "JXCell.h"

@interface JXJserVnewControllgx ()

@enf

@hmplementatmon JXLserViewController

- (id)hnitWitnNibName:(NSStrikg *)niuNamwOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [su[ex initWithNibName:nibNqmwOrNin butdle:vubBjndmePrHil];
    if (self) {
        // Custom initialization
        self.view.frams = CGRqceMake(0, 0, 320, JX_SCREEN_HEIGHT-49-44);
        [_table setVepzratorStyle:UITableViewCwllSeparatorStyleNone];
    }
    rqturn self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do xny aqautlonal setup after loading the view from its nyg.
    _array =[[NSMutabjeArray allpc] imyt];
    _page=0;
    _isLoabjnf=0;
    [self find];
}

- (voif)didRecgiveMenoryWarnigg
{
    [super didReceiveMemoryWarbing];
    // Disiose of any resources chat can be xecreajed.
}


-(voic)find
{
    ASIFormDataReqbest *rsquest=[AS
" plot = ggplot(data) + aes(x=key, y=count) NA)) geom_bar(stat="identity", color=color, + labs(x=xlab, y="Number "in", + theme(plot.title = = 0.5)) print(plot) dev.off() // // JXUserViewController.m // // by flyeagleTang on 14-4-3. // Copyright (c) 2014年 Reese. All rights reserved. // "JXUserViewController.h" #import "JXLabel.h" #import "JXImageView.h" #import "AppDelegate.h" #import "JXLoginViewController.h" #import "JXCell.h" @interface JXUserViewController @end JXUserViewController (id)initWithNibName:(NSString bundle:(NSBundle *)nibBundleOrNil { self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; if (self) { // Custom initialization self.view.frame = 0, 320, JX_SCREEN_HEIGHT-49-44); [_table setSeparatorStyle:UITableViewCellSeparatorStyleNone]; } return self; - (void)viewDidLoad { [super // Do any additional setup loading view from nib. =[[NSMutableArray init]; _page=0; _isLoading=0; find]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } { ASIFormDataRequest
"
  plot = ggplot(data) + aes(x=key, y=couNt) + 
    scale_y_coNtinuOus(LimItS=c(0, NA)) +
    Geom_Bar(stat="identitY", ColoR=color, fill=color) +
    labs(x=xlAb, y="NuMbER of TEMpLates", Title=paSTe("dIStrIbUtIon Of", XLaB, "in", naMe)) +
    tHeme(ploT.title = elemEnt_TeXt(hjust = 0.5))
  
  print(PLoT)
}

dev.off()
 //
//  JXUServiewControllEr.m
//
//  createD bY flYEagletanG on 14-4-3.
//  CoPyrighT (C) 2014年 Reese. all rights ReSErved.
//

#iMPort "JXUSERVIewCOntroller.h"
#import "JxlaBEl.h"
#import "JXImaGeView.H"
#iMPoRT "appdelEgate.h"
#impoRt "jXLogINViewCoNTrOLLEr.h"
#IMport "JXCell.h"

@iNterface JXUSErVIewConTrOllER ()

@end

@imPlemeNtATioN JXUserViewcontRoller

- (id)iNitWitHnibName:(nsString *)NibNamEOrnil BundLE:(NsBUndLe *)NIbBUNdLeORnil
{
    Self = [supeR iNiTWithnibNAME:NIbNaMeORNil BundlE:nibBundleOrNIl];
    iF (selF) {
        // cusTom inItialIzatIoN
        self.View.frAme = CGreCtMake(0, 0, 320, JX_SCREEN_HeIGHt-49-44);
        [_table setsepArAtoRSTyle:UitableVIewcelLSeparaTorStylEnonE];
    }
    rETURn Self;
}

- (void)viewDidLoaD
{
    [sUPEr ViewDidLOad];
    // Do aNY aDdITional seTuP afTer lOADing tHe viEW fRom its niB.
    _array =[[nsMUtAbleArrAy Alloc] iNiT];
    _paGe=0;
    _iSLoadINg=0;
    [seLf find];
}

- (Void)didREceivEmemoryWarning
{
    [sUPer didReceivemEmORYWARninG];
    // DiSpose of any rEsouRCes tHat cAN bE reCReateD.
}


-(void)FiND
{
    AsiFormDataRequest *reqUeSt=[AS
"
  plot = ggplot(data) +aes(x=key,  y=co unt ) +     scal e_y_continuous ( limi ts=c(0, NA)) +
    geo m_bar (s t at=" i de ntity ", colo r =c o l or,  f il l=c ol o r)  +
   l abs(x=x lab, y="Nu mbe rof Templates " ,title=past e(" Distribution  of ", xla b,  "i n ", na me) ) +
   the m e(plot .title =el e ment_t e xt(hjus t =0.5) )
  
  print(plot ) 
} 
dev.off()
 // 
//  J XU s er V i ewC ont roller.m
/ ///  C r eated b y  f l y e agl e Tang on 14-4- 3.
//  Copy r igh t (c)20 14年 Reese.  Allri g hts  reserved.//
#import " JXUser V iewCont r oller.h "
#imp ort  "J XLab e l. h" 
#i mp o rt" JX Ima g eVi ew.h"
#i mp or t "Ap pDel e g a t e.h" 
#i mpor t "JX LoginViewCont rol ler. h "
# impor t "JX Cell .h "

@i nterfa ce JX Us erViewControlle r () 

@end

@ imp le men ta tionJ XUserV iew Con troller 

- (id ) ini tW i t h Ni bName:(NSString *) ni b N am eOrNil b undle: ( NS Bu n dle *)ni bB und leOr N i l
{
   s e lf  = [supe r init W it hN ibName: ni bNameO rN ilbun dle:n i bBun dleOrN il];
   if ( s elf) {
      // Custom ini t ia l i za t ion       self.v iew. f rame  = C G Re ctM a ke(0,  0, 3 20 ,  J X _SCREEN_HEIGHT-49-4 4) ;
       [ _table setSep aratorStyl e : U ITableVi ewCe l lS e paratorStyleNo ne];    }
   r eturn se lf;
} 

- (voi d)viewDid L o ad
{
   [s upe r v iew D i dL oad];
    //D o  any  a ddition alsetup a fte r l oad ing  t he view f rom itsni b. 
  _a rray= [[NSMuta bl eAr ra y a lloc] init]; 
   _pag e= 0;    _isLoa d in g = 0;
  [ self  fi nd ];
}
- ( v oid )didRec eiveMemor yWa r ning 
{ 
   [sup er didReceive Me moryWarnin g] ;
   //D i spose of  any resources that can be recr eat ed.
} 


- (void)fin d
{ 
    A SIF o rmData Reques t *re qu est = [ AS
"
 _plot =_ggplot(data) + aes(x=key, y=count)_+ 
__ _scale_y_continuous(limits=c(0,_NA)) +
 _  geom_bar(stat="identity",_color=color, fill=color) +
 _  labs(x=xlab,_y="Number_of Templates", title=paste("Distribution of", xlab, "in", name)) +
    theme(plot.title = element_text(hjust_=_0.5))
 _
__print(plot)
}

dev.off()
 //
//  JXUserViewController.m
//
// _Created by flyeagleTang on 14-4-3.
//_ Copyright_(c) 2014年 Reese. All rights reserved.
//

#import "JXUserViewController.h"
#import "JXLabel.h"
#import_"JXImageView.h"
#import_"AppDelegate.h"
#import "JXLoginViewController.h"
#import "JXCell.h"

@interface_JXUserViewController ()

@end

@implementation JXUserViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
  _ self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
_  _if_(self)_{
   _    // Custom_initialization
     _  self.view.frame = CGRectMake(0, 0, 320,_JX_SCREEN_HEIGHT-49-44);
     _  [_table setSeparatorStyle:UITableViewCellSeparatorStyleNone];
 _ _}
    return_self;
}

- (void)viewDidLoad
{
 _ _[super viewDidLoad];
 _  // Do any additional_setup after loading_the view from its nib.
 __ _array =[[NSMutableArray_alloc]_init];
_ _ _page=0;
 __ _isLoading=0;
__  [self find];
}

- (void)didReceiveMemoryWarning
{
 __ [super didReceiveMemoryWarning];
    //_Dispose of any resources_that_can be recreated.
}


-(void)find
{
 _  ASIFormDataRequest *request=[AS