[R] Abstract plot

ONKELINX, Thierry Thierry.ONKELINX at inbo.be
Mon Jun 4 15:41:45 CEST 2007


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 op 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 op stat.math.ethz.ch 
> [mailto:r-help-bounces op stat.math.ethz.ch] Namens Alberto Monteiro
> Verzonden: maandag 4 juni 2007 15:19
> Aan: r-help op 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 op 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.
>



More information about the R-help mailing list