Re: [R] Abstract plot

From: ONKELINX, Thierry <Thierry.ONKELINX_at_inbo.be>
Date: Mon, 04 Jun 2007 15:41:45 +0200


You can do than. You just need to specify the strings in the axis-labels.

plot(y~x, axes = F)
axis(1, at = range(x), labels = c("Xmin", "Xmax"))
axis(2)

Cheers,

Thierry




ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Reseach Institute for Nature and Forest
Cel biometrie, methodologie en kwaliteitszorg / Section biometrics, methodology and quality assurance
Gaverstraat 4
9500 Geraardsbergen
Belgium
tel. + 32 54/436 185
Thierry.Onkelinx_at_inbo.be
www.inbo.be

Do not put your faith in what statistics say until you have carefully considered what they do not say. ~William W. Watt A statistical analysis, properly conducted, is a delicate dissection of uncertainties, a surgery of suppositions. ~M.J.Moroney  

> -----Oorspronkelijk bericht-----
> Van: r-help-bounces_at_stat.math.ethz.ch
> [mailto:r-help-bounces_at_stat.math.ethz.ch] Namens Alberto Monteiro
> Verzonden: maandag 4 juni 2007 15:19
> Aan: r-help_at_stat.math.ethz.ch
> Onderwerp: [R] Abstract plot
>
> I want to make a plot, but instead of showing _numerical_
> values, I would like to show _symbolic_ values.
>
> For example, I want to plot a function y = a x + b, where x
> varies between Xmin and Xmax. I would like the plot to show,
> in the x-axis, the strings Xmin and Xmax, instead of their
> numeric values. Is it possible?
>
> Alberto Monteiro
>
> ______________________________________________
> R-help_at_stat.math.ethz.ch 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.
>



R-help_at_stat.math.ethz.ch 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. Received on Mon 04 Jun 2007 - 13:50:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 04 Jun 2007 - 14:31:50 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.