On Sat, May 10, 2008 at 8:13 PM, Rose <[EMAIL PROTECTED]> wrote:
>
>
>
> On 10 mai, 22:47, "William Stein" <[EMAIL PROTECTED]> wrote:
>
>> Here is an example of drawing a vertical line:
>>
>> sage: line([(1/2,-2), (1/2,2)])
>
> Wow that answer was fast,
>
>  Well if there a way to name it without drawing it (because I need to
> put it in an if and  I don't want it to by show anytime, like it does
> with line (I don't know why line is drawing it, and I do not fine this
> function in the documentation)).

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

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to