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.


On Mon, Nov 14, 2011 at 1:07 AM, Ian Clark <[email protected]> wrote:
> Thanks, Fraser.
>
> Yes, having my mind on other things I was hoping not to have to go
> down to the pd level, and wondering if someone's done it already for
> me.
>
> "Really quite easy" when you get down to it. Nothing an evening or
> three won't sort out. Then I can get down to the real problem.
>
>
> On Mon, Nov 14, 2011 at 12:47 AM, Fraser Jackson
> <[email protected]> wrote:
>> Using the low-level verb  pd  in the plot package gives you complete control
>> of  overlaying plots on the same scales.  See the help on Plot/ Verbs  and
>> definitions in the plot demos.
>>
>> ----- Original Message -----
>> From: "Ian Clark" <[email protected]>
>> To: "Programming forum" <[email protected]>
>> Sent: Monday, November 14, 2011 12:54 PM
>> Subject: [Jprogramming] Modified plot
>>
>>
>>> j602 Plot Package question...
>>>
>>> How best can I superimpose a polygon (ideally drawn using the same x,y
>>> coords) on a Plot window generated by eg:
>>>   'line' plot XX ; YY
>>> where XX is x-positions generated by (say) steps 0 10 100
>>> and YY is corresponding y-data?
>>>
>>> Purpose: to view the behavior of candidate curve-following algorithms.
>>> YY is the curve to be followed. The polygon will show the attempts to
>>> follow it.
>>> ----------------------------------------------------------------------
>>> 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

Reply via email to