maybe you're looking for curve(), e.g.,

curve(5*x + 2, -3, 4, ylab = expression(5*x + 2))


I hope it helps.

Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/(0)16/336899
Fax: +32/(0)16/337015
Web: http://med.kuleuven.be/biostat/
     http://www.student.kuleuven.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: "Alberto Monteiro" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, June 04, 2007 3:18 PM
Subject: [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
>
> ______________________________________________
> [email protected] 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.
> 


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

______________________________________________
[email protected] 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.

Reply via email to