Hi, When I plot 3 curves with the same x-axis and same y-axis, the first two curves honor the y-axis but the last one doesn't. When I remove yaxt="n" for the last curve a new scale appears on the y-axis along with the scales that the first two curves use. I want all curves to use the same y-axis scale.
What is missing ? Init Used Committed Max Time 1 2359296 13913536 13959168 50331648 200 2 2359296 13915200 13959168 50331648 400 3 2359296 13947712 13991936 50331648 600 4 2359296 13956224 13991936 50331648 800 5 2359296 13968832 14024704 50331648 1000 6 2359296 13978048 14024704 50331648 1200 7 2359296 14012416 14090240 50331648 1400 8 2359296 14450304 14548992 50331648 1600 9 2359296 14521024 14548992 50331648 1800 10 2359296 14536320 14548992 50331648 2000 11 2359296 14553344 14581760 50331648 2200 plot(data$Time,as.numeric(data$Used),col="green",pch=16,type="b", ylab="MegaBytes", xlab="",las=2,lwd=2,xaxt="n", cex.lab=1.2,cex.axis=1) axis(1,at = seq(min(data$Time), max(data$Time), by=1000),las = 2,cex.axis=1) title("Time vs Used Code cache,Committed and Maximum Code cache",cex.main=1.5,xlab="Time(Seconds)") par(new=T) plot(data$Time,as.numeric(data$Committed),col="orangered",pch=16,type="b", ylab="MegaBytes", xlab="",las=2,lwd=2,xaxt="n", cex.lab=1.2,cex.axis=1,yaxt="n") par(new=T) plot(data$Time,as.numeric(data$Max),col="palevioletred3",pch=16,type="b", ylab="MegaBytes", xlab="",las=2,lwd=2,xaxt="n", cex.lab=1.2,cex.axis=1,yaxt="n") Mohan This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited. Visit us at http://www.polarisFT.com [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.