Here is an example of drawing a vertical line:
sage: line([(1/2,-2), (1/2,2)])
Try doing a parametric plot:
var('t')
parametric_plot( (3,t), -10,10)
(that is off the top of my head, I haven't checked it to make sure it
works...)
Thanks,
Jason
1. Type line? for docs on line.
2. An example of "naming it", and showing only in an if:
L = line([(1/2,-2), (1/2,2)])
if 1 == 1:
L.show()
> Thanks for answering, even if I don't write well in english.
> >
>
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org
Could you post the code that you have and explain what you are trying to
do with it?
Thanks,
Jason
You can look it up in an algebra book or calculus book for more details,
but basically, the command above is saying to plot the points (3, t) for
any t between -10 and 10. In other words, plot points with x-coordinate
3 and y-coordinate "t", where t goes between -10 and 10.
That said, William's suggestion of using the line command might be easier.
Jason
S'il est necessaire, il y a des gens qui lit sage-support qui
comprennent le francais et qui peuvent peut-etre explique des choses
en francais (sans accents)!
John
2008/5/11 Rose <pinkwo...@gmail.com>: