similar to: Two different scales for the same axis in the same plot.

Displaying 20 results from an estimated 30000 matches similar to: "Two different scales for the same axis in the same plot."

2012 Apr 26
2
How to plot graph with different scale (y axis) on same graph?
Hi, I have my data in below format. position var1 var2 2 .1 10 3 .29 89 12 .56 100 425 .34 1234 6546 .12 21 .... ..... ..... .... ..... ......
2008 Dec 06
1
plotting several datasets with different scales into same plot
Dear Miss R, I wish to plot three datasets on completely different scales into one single plot. Until now I use a complicated procedure, converting the data of the second and third set into coordinates of the first plot and then adding an extra axis. Is there a way to do this more simply...? Thanking you and wishing you all an excellent Sunday! Cheers, Georg. ************************* Georg
2013 Jun 15
2
Plotting two y-axis vs non-numeric x-axis
Hi dear all, the following code is correct. but I want to use non-numeric x-axis, for example if I replace time <- seq(0,72,6) by month <- c("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","Pag") Ofcourse I use factor(month) instead of
2010 Dec 09
2
RES: Barplot with "Independent" Lines Y axis
Oh sorry. An example say lots more than words. The data below, when submitted to twoord.plot return the mentioned error. Rain are bars and Salt lines, the bars appear and the error occurs with the salt data. Point Rain Salt Fev/03 365.6 13 Mar/03 235 18 Abr/03 115.1 18 Mai/03 47.4 18.75 Jun/03 112 15 Jul/03 156.8 17 Ago/03 66.1 15 Set/03 149.8 14 Out/03 167,1 11.5 Nov/03 269.3 17.5 Dez/03 283.7
2010 Dec 09
1
2 plots with different scales in the same graphical window
Dear useRs, I have two sets of data that I would like to plot in the same window, but their ranges are really different, e.g. a <- c(0.2, 0.5, 0.8, 0.3, 0.4, 0.5, 0.2, 0.2, 0.3) b <- c(100, 2000, 800, 200, 100, 50, 4, 2, 0) If I do plot(a, ty='l'); points(b, ty='l') I won't be able to see sequence b. However, if I do plot(b, ty='l'); points(a, ty='l')
2008 Jun 24
2
two y-axis using ggplot
Dear List Members As a relatively new R user I am extremely glad for there being a nice tool such as ggplot for producing easily nice graphs in R. Now I want to produce graphs with two y-axis. I know that this has been asked a hundred times with respect to standard plots in R. (The answer, to my knowledge, has always been "No" or "No, see the help archive".) But: Is there
2010 Sep 30
1
barplots with 2 different scales
Is there a way to create barplots with pairs of bars plotted on 2 different scales (i.e some bars would be plotted according to the scale on the y-axis on the left and other bars plotted according to a different scale on the right axis)? Thank you, Jeremy [[alternative HTML version deleted]]
2010 Jan 20
2
How do I juxtapose two lattice graphs with common X axes such that the X axes line up?
Hello, I would like to juxtapose two lattice graphs with common X axes such that the X axes line up. I am using plot right now but the edges are not neat and it would be nice if I could just draw 1 X axis and not both of them. Here is my code: upper<-bwplot(SignalUsed~as.factor(AllNormalHitsNamesCount),data=NmlOverviewArray2, xlab="", ylab="Intensity of Individual
2008 Aug 14
2
how to over-plot another variable on axis-4
Hello R Users, I am using R on Windows, I am ploting CO2 (350,380) variying with year(1993,2003) I want to over-plot rainfall (10,250) varying with year(1993,2003) on axis-4 axis-1=year(1993,2003), axis-2=CO2(350,380) axis-3=None axis-4=rainfall(10,250) Kindly help how to over-plot another variable on axis-4. Many thanks, Regards, Yogesh [[alternative HTML version deleted]]
2008 May 22
3
secondary axis in a plot
Hello, I want to do a plot of two series, but adding a secondary axis in the rigth side to take into account the different scales of the two series. Anyone can tell me haw can I do that in R? Thank you very much Maria -- View this message in context: http://www.nabble.com/secondary-axis-in-a-plot-tp17402079p17402079.html Sent from the R help mailing list archive at Nabble.com.
2008 Dec 17
4
Plot multiple lines, same plot, different axes?
Dear list, I would like to plot 2 series of numbers with very different ranges/scales as lines on the same plot. I assumed this is commonly done and easy, but I have not found any help files (e.g. axis() or matplot() that show how. I've searched many old posts to no avail. I'll be very grateful for any suggestions on how this is done. Best, Zack
2009 Sep 10
1
Issue displaying DATES on a plot with two ordinates
Dear all, I am having an issue with displaying the dates on a plot with two ordinates (i.e. two differently scaled y-axes). Instead of dates appearing on the x-axis I am instead seeing a string of numbers (14460, 14465, 14470 and 14475). example R code: library(plotrix) x.Left <- as.Date(c('2009-08-04', '2009-08-08', '2009-08-11', '2009-08-15',
2010 May 09
1
Is it possible to rearrange the facets in ggplot while keeping everything else the same?
Hello, First, ggplot2 is great! Second, sorry for the basic nature of my question. I have data in the form of a melt table like this: Subject Day Ab Variable Value 1 1 Yes A 3 1 3 Yes A 5 1 5 Yes A 7 2 1 No A 2 2 3 No A 4 2 5 No A 6 3 1 Yes A 1 3 3 Yes A 3 3 5 Yes A 5 4 1 No A 4 4 3 No A 6 4 5 No A 8 1 1 Yes B 3 1 3 Yes B 5 1 5 Yes B 7 2 1 No B 2 2 3 No B 4 2 5 No B 6 3 1 Yes B 1 3 3 Yes B 3 3 5
2010 Sep 06
8
Over lay 2 scale in same plot
Hi Everyone, I have two different data set in 2 different scale. I want to plot these two data in the same plot in their respective scale. So the plot will have 2 different scale. I have added an image below to show how it should look. does any bode has any idea how this can be done. 2 different y scale in same plot..?? http://r.789695.n4.nabble.com/file/n2528661/2scale_ovelay.jpg Thanks in
2012 May 10
4
additional axis, different scale
Dear list, I am looking for a possibility to present results in a more graphical way by adding an axis. But I have trouble relating my data to the added axis. Imagine the following example: a <- c(10, 20, 30, 40) b <- c(50, 250, 500, 600) ba <- b/a par(las=1, mar=c(5,5,.5,5)) plot(a,b, type="b", pch=22, cex=2, col=4, lwd=2, ylim=c(0,650), xlim=c(0,45)) axis(4,
2008 Feb 27
4
plot y1 and y2 on one graph
Dear all I have a code like x<-1:10 y1<-x+runif(10)*2 y2<-seq(0,50,length.out=10)+rnorm(10)*10 par(mfrow=c(1,2)) plot(y1~x) plot(y2~x) Now I would like to plot y1 and y2 on the same graph, with its two scales (y1 on left and y2 on rigth side). Any help are welcome. Kind regards Miltinho Brazil [[alternative HTML version deleted]]
2008 Mar 25
5
Thinking about using two y-scales on your plot?
Please read this first: http://www.perceptualedge.com/articles/visual_business_intelligence/dual-scaled_axes.pdf It's a reasoned discussion of why it's a bad idea and proposes some alternative methods. Another good article is: K. W. Haemer. Double scales are dangerous. The American Statistician, 2(3):24?24, 1948. People have been advising dual-axis plots for (at least) 60 years! Hadley
2009 May 29
2
Drawing schematics
Hi, I would like to represent the treatment course of a subject with an arrow representing passage through time and various ticks, arrows, or bars representing treatments done to the patient along the arrow. I would like to generate this sort of schematic for each patient in a database taking information from the database such as time of treatment and type of treatment. Does anybody know how I
2013 Jun 06
2
generating a bar chart with two axis for co-linear variable
Hello Dimitris, I was goggling for some help on Sensitivity vs 1-specificity and saw your link. I hope you can be of help to me in one of the issue that I am facing in generating combo chart(bar chart and plot). I am a novice and have some difficulty in getting this logic correct. I am give a dataset (I am attaching a sample dataset). I am using a barplot() and passing values for
2010 Dec 09
1
Barplot with "Independent" Lines Y axis
Hi list. I'm plotting pluviometric (Rain) data as a barplot, and then adding the salinity variable to this plot as lines. Obviously as these Y scales are completely different the salinity appears at the lower part of the graph extremely compacted. I need to plot the line at the exactly same area of the barplot but with its own Y axis (at the right), so the salinity can use the plot area