require'plot' pd 'reset' pd 'new' pd 'xlabel a b c' pd 'ylabel f g h' pd 'color red' pd 'type line' pd 1 2 3 pd 'y2axis' pd 'type area' pd 'color blue' pd 'yrange 1 7' NB. pd 'ylabel 1 2 3 4 5 6 7' NB. pd 'ylabel x y z' pd 2 3 5 pd 'show'
I am having difficulty setting the ylabel on the right angel If I set 1 2 3 4 5 6 7 I get |length error: isitext | t=.(<"1 gpcount 2056,"1 p) ,each t If I set x y z the plot looks wrong 2008/1/15, Chris Burke <[EMAIL PROTECTED]>: > > Devon McCormick wrote: > > Also, playing with this I noticed a bug in "pd": if you specify the data > > first, as you do in your example, the option "pensize" with type "point" > has > > no effect. However, changing the order of the statements so that the > data > > is specified last, just before "show", allows "pensize" to have an > effect. > > It is intended that plot options be given before the data, so that a > data argument to pd fixes the options for that data. This allows options > to be redefined for new data, e.g. > > pd 'reset' > pd 'color red' > pd 1 2 3 > pd 'color blue' > pd 2 3 5 > pd 'show' > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Björn Helgason, Verkfræðingur Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127 801 Grímsnes ,t-póst: [EMAIL PROTECTED] Skype: gosiminn, gsm: +3546985532 Landslags og skrúðgarðagerð, gröfuþjónusta http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .-----------------------------------. ,' .\ / | Með léttri lund verður | ,--' _,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. | `-----------------------------------' | ) | (\_ _/) (`-. '--.) (='.'=) `. )----' (")_(")
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
