Forum archive 2000-2006

Mako Haruta - Graphing vertical line segments

Mako Haruta - Graphing vertical line segments

by Arnold Pizer -
Number of replies: 0
inactiveTopicGraphing vertical line segments topic started 2/17/2003; 3:11:36 PM
last post 2/18/2003; 12:02:27 AM
userMako Haruta - Graphing vertical line segments  blueArrow
2/17/2003; 3:11:36 PM (reads: 1334, responses: 1)
I would like to know how to plot a vertical line segment in a graph. PG seems to allow only the plotting of functions. I don't want to use a .gif file, because values on the graph, including this segment, are randomized.

Thanks! --Mako

<| Post or View Comments |>


userMichael Gage - Re: Graphing vertical line segments  blueArrow
2/18/2003; 12:02:27 AM (reads: 1638, responses: 0)
One good way would be to use a parametric function:

http://webwork.math.rochester.edu/docs/docs/pglanguage/pod/fun.html#new%20(parametric%20version)

another more efficient way is to use the technique described in

http://webwork.math.rochester.edu/docs/docs/pglanguage/pod/vectorfield.html

toward the bottom of the page. (GD.pm is a perl module that has many more capabilities than have been documented for the PG language. )

This is all I have time to say at the moment. I can write an example for you next week if needed.

Hope this helps.

Take care,

Mike

<| Post or View Comments |>