bill lam wrote:
>> Also, there is an experimental addition to Plot - allowing low-level
>> drawing commands in a pd command sequence, see
>> http://www.jsoftware.com/jwiki/ChrisBurke/Drawing .
> 
> In that sample plot, the x-axis seems starts from 0.5 and the green
> rectangle drawn by
>   pd 'gdrect 0 0 2r 1r'
> is not fully shown, is this a bug or a feature?

This is as documented.

0 0 refers to bottom left.

2r 1r refer to x-axis position 2, and y-axis position 1.

But this raises the question of what happens if you want to draw outside
the Graf Box? The Graf Box was chosen because this seems most useful,
but actually it would be straightforward to permit drawing relative to
other boxes as well - except only that drawing using axis positions
makes sense only in the Graf Box.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to