---Bill Harris wrote: > Looking at http://www.jsoftware.com/jwiki/Plot/Function, I > figured out I > could plot a 45 degree line with > > plot _10 10 ; 'y' > > and multiplying y by a slope gives other lines. > > How do I plot a horizontal line? I'm trying to draw limit lines on a > graph.
This works for me, but there may be better ways. plot _10 10 ; 'y`4+y-y' > Finally, I have data I'm plotting as a marker type graph; is > it easy to > overlay the limit lines as type lines? When I issue pd'marker; show' > (assuming I do the data last), it switches everything to markers. pd 'reset' pd 'type marker' pd _10 _9 _8 _7 _6 _5 _4 _3 ; _10 _5 _1 2 3 3.5 3.75 3.875 pd 'type line' pd _10 0; '4+y-y' pd 'show' ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
