I've been playing with this, and I haven't been able to come up with a
working translation of that code fragment.

Here's my current best guess, though it still does not work:

load 'graph'
gdopen''                NB. Create drawing surface
gdcolor 255 0 0         NB. set the color
gdpen 2, PS_DASH        NB. pen width 2, dashed line
gdlines 0 1000  1000 0  NB. draw using current pen
gdshow''

I suspect that the graph addon needs some work.

-- 
Raul

On Thu, Apr 6, 2023 at 11:57 AM Michal Wallace <[email protected]> wrote:
>
> https://code.jsoftware.com/wiki/Help/JforC/Graphics
>
> ... says you can do this to make an isigraph pop up:
>
>    load 'graph'
>    gopen ''
>
>
> but...
> a) the verb seems to have been renamed to `gdopen` since this was written
> and
> b) no window pops up when you call `gdopen`
>
> (tested in jQt for windows, j902 and j9.4...)
>
> Do we need to fix the code, or the docs?
> ----------------------------------------------------------------------
> 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