Thank you very much, Ian! I looked at this sometime ago and couldn’t get it to work as well (and given up).
https://code.jsoftware.com/wiki/Studio/FractalsVisualizationJ Thing is, jwiki suggests gdshow’’ as the last call to show the rendering (similar to pd ‘show’ - it kind of makes sense), but the Lab’s (the working reality) isn’t - rendering calls actually come AFTER gdshow’’. Wonderful. I have a new toy to play with in my long weekend! And thanks for the book recommendation as well. Maurice On Thu, Apr 6, 2023 at 10:14 PM Ian Clark <[email protected]> wrote: > Addons/graphics/graph -works just fine for me in jqt on the Mac, whether > j902, j903 or j9.4.0 > > JVERSION > > Engine: j9.4.0-beta13/j64arm/darwin > > Build: commercial/2023-02-23T08:07:39/clang-14-0-0/SLEEF=1 > > Library: 9.4.21 > > Qt IDE: 2.0.3/6.2.4(6.2.4) > > Platform: Darwin 64 > > Installer: J904 install > > InstallPath: /applications/j904 > > Contact: www.jsoftware.com > > > But it is somewhat buried in jwiki as it stands. You "just have to know" > what it is and what it is capable of. > > > Make its acquaintance via Labs: > > Help > Studio… > Labs… > Category: graphics > > > Fractals, Visualization & J > > - or - > > Graph Utilities > > > I recommend going straight into the first lab listed: *Fractals, > Visualization & J* > to get an idea what addon: graph can really do, and how best to use it. > > If you just browse jwiki for "graph" as I did (silly me!) you might only > discover the 2nd lab: Graph Utilities > and run away with the idea it's a poor relation of plot/pd. Or a cut-down > version of GL2 (supported by jqt). > > Oh, and buy the book too – I've been recommending it for years: > > https://code.jsoftware.com/wiki/Books#Fractals.2C_Visualization_.26_J.2C_4th_ed._.282_Parts.29 > …which has up-to-date links > WARNING: don't search lulu.com directly - their search feature is dismal > and you risk buying the 3rd edition not the 4th. > > Ian Clark > > On Fri, 7 Apr 2023 at 01:08, Raul Miller <[email protected]> wrote: > > > 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 > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Sent from mobile ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
