An example of plotting multiple types: pd 'reset' pd 'type bar' pd 3 9 5 9 2 pd 'type line' pd 33 44 55 2 33 pd 'show'
See the plot demo for more. Also: http://www.jsoftware.com/jwiki/Studio/Plot#Combiningdifferentplottypes On Tue, Nov 15, 2011 at 7:43 AM, Ian Clark <[email protected]> wrote: > @Brian > This is getting close. It scotches my theory that an opaque background > is being drawn in between. Just need now to disentangle the x-scales. > > @Kip > Thanks for reminding me of Google Charts. I've played with it, and > it's quite easy once you find your way round the documentation and > develop a technique. > > Thanks folx, there's plenty of ideas there. I think I'll pursue > Brian's route for an evening, and if that doesn't prove tractable I'll > hack out what I want in gl2, which is probably (slightly) easier than > turtle graphics, though less portable. > > I'll report back on the wiki. Can't believe I'm the only person who > wants to scrawl all over plots. > > On Mon, Nov 14, 2011 at 8:19 AM, Brian Schott <[email protected]> wrote: >> The plot below produces both graphs for me, but the trigonometric one >> is in the unit cube while the other is quite large. >> >> On Sun, Nov 13, 2011 at 11:46 PM, Ian Clark <[email protected]> wrote: >>> I guess the problem I'm running up against is that: >>> >>> pd 'new' >>> pd (sin;cos,: ]) range 1 7.5 0.5 >>> pd *: 0.1*i.160 >>> pd 'show' >>> >>> works with either of the two middle statements, but not both together, >>> the second obliterating the first. (Why not?) >>> >>> I want to superimpose two differently structured data items, one of >>> which is able to form closed polygons but doesn't share the x-vector >>> of the other one. >>> >>> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
