Hi, I am trying to clearly show the values in the x-axis in the attached graph. The tick marks are too close and the labels are blurred. plot(as.numeric(data$Var1),data$Freq,ylim=c(0,700),col="green",type="o",ylab="Number of connections",las=2,lwd=2.5,xaxt="n",xlab="IP") axis(1,at=data$Var1,labels=data$Var1,las = 2,cex.axis=0.7,las=2) title("Estimation of concurrent connections",cex.main=1.8,line=1) Thanks, 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
Looks like graph cannot be attached. Mohan From: mohan.radhakrishnan@polarisft.com To: r-help@r-project.org Date: 09/25/2013 12:41 PM Subject: [R] Space between x-axis ticks Sent by: r-help-bounces@r-project.org Hi, I am trying to clearly show the values in the x-axis in the attached graph. The tick marks are too close and the labels are blurred. plot(as.numeric(data$Var1),data$Freq,ylim=c(0,700),col="green",type="o",ylab="Number of connections",las=2,lwd=2.5,xaxt="n",xlab="IP") axis(1,at=data$Var1,labels=data$Var1,las = 2,cex.axis=0.7,las=2) title("Estimation of concurrent connections",cex.main=1.8,line=1) Thanks, 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 ______________________________________________ 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. 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]]
I attached a graph and it is not allowed. So the data is here. Var1 Freq 1 10.1.17.10 205 2 10.1.17.15 216 3 10.1.17.17 79 4 10.1.17.23 76 5 10.1.17.24 209 6 10.1.17.5 244 7 10.1.17.6 178 8 10.1.17.7 165 9 10.1.17.8 146 10 10.1.17.9 90 11 10.1.17.99 174 12 10.1.19.100 196 Thanks. From: mohan.radhakrishnan@polarisft.com To: r-help@r-project.org Date: 09/25/2013 12:41 PM Subject: [R] Space between x-axis ticks Sent by: r-help-bounces@r-project.org Hi, I am trying to clearly show the values in the x-axis in the attached graph. The tick marks are too close and the labels are blurred. plot(as.numeric(data$Var1),data$Freq,ylim=c(0,700),col="green",type="o",ylab="Number of connections",las=2,lwd=2.5,xaxt="n",xlab="IP") axis(1,at=data$Var1,labels=data$Var1,las = 2,cex.axis=0.7,las=2) title("Estimation of concurrent connections",cex.main=1.8,line=1) Thanks, 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 ______________________________________________ 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. 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]]