[R] Need help with plotting the graph
    Prasad Joshi 
    prasadjoshi124 at gmail.com
       
    Mon Oct  7 12:02:45 CEST 2013
    
    
  
Hello All,
The version of R I am using is as follows
> version
               _
platform       x86_64-pc-linux-gnu
arch           x86_64
os             linux-gnu
system         x86_64, linux-gnu
status
major          2
minor          14.1
year           2011
month          12
day            22
svn rev        57956
language       R
version.string R version 2.14.1 (2011-12-22)
I just few days back started using R for basic statistical analysis. I
want to plot the graph of following information
> df
                  disk vmfs  vmdk     IOPS       BW
1 naa.5000a7203007ed8f    3 eager 16886.77 65.96393
2 naa.5000a7203007ed8f    3  lazy 44623.15 174.3092
3 naa.5000a7203007ed8f    5 eager 16767.53 65.49815
4 naa.5000a7203007ed8f    5  lazy 45891.55 179.2639
> str(df)
'data.frame':    4 obs. of  5 variables:
 $ disk:List of 4
  ..$ : chr "naa.5000a7203007ed8f"
  ..$ : chr "naa.5000a7203007ed8f"
  ..$ : chr "naa.5000a7203007ed8f"
  ..$ : chr "naa.5000a7203007ed8f"
 $ vmfs:List of 4
  ..$ : num 3
  ..$ : num 3
  ..$ : num 5
  ..$ : num 5
 $ vmdk:List of 4
  ..$ : chr "eager"
  ..$ : chr "lazy"
  ..$ : chr "eager"
  ..$ : chr "lazy"
 $ IOPS:List of 4
  ..$ : num 16887
  ..$ : num 44623
  ..$ : num 16768
  ..$ : num 45892
 $ BW  :List of 4
  ..$ : num 66
  ..$ : num 174
  ..$ : num 65.5
  ..$ : num 179
I would like Y axis to represent BW and X axis to represent disk, vmfs and vmdk.
All the examples in books or online have single X axis. I could not
find an example which does something similar to what I am trying. Can
anyone please give me some pointers?
Thanks and Regards,
Prasad
    
    
More information about the R-help
mailing list