Re: To display a line

Romaric:

Romaric BENECH wrote:
> I want to display a line between two points (1.0,2.0 ; 3.0,4.0).
>
> How can i do this ?
>

We have created the VisAD-Jython connection to make things like this easy.

Using VisAD-Jython, you would simply:

display.drawLine( ( (1,3),(2,4)))

where 'display' is the display object you are using.

There are also keyword parameters for setting the color, line style, width, and a specialized MathType if needed (default is whatever is mapped first to the axes).

tom
--
Tom Whittaker
University of Wisconsin-Madison