Scratch the plot option. Instead, plot (f1,|....@f2)^:13 ]0 accomplishes the task of removing rogue lines.
Marshall -----Original Message----- From: Marshall Lochbaum [mailto:[email protected]] Sent: Tuesday, September 28, 2010 11:18 AM To: 'Programming forum' Subject: Dragon curve Looking at the dragon curve Rosetta Code task, it seems that it is much prettier to draw the curve as an iterated function system over the complex plane: load'plot' f1=.*&(-:1j1) f2=.[: -. *&(-:1j_1) plot ,(f1,:f2)^:13 ]0 with the functions stolen from Wikipedia. Could we include this as well? The example I gave is missing a plot option to not include lines between points (ie. just show points). It seems that I have used this before, but I can't find it now. Any hints? Marshall ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
