Yes - I include that "cairo" stuff to set the plot size and output to my paint program as a ".png".
On Fri, Feb 14, 2014 at 3:12 PM, Joe Bogner <joebog...@gmail.com> wrote: > Sorry - I mean I had to remove the: output cairo 1000 1000 > > pd 'color red;pensize 8' > > > On Fri, Feb 14, 2014 at 3:11 PM, Joe Bogner <joebog...@gmail.com> wrote: > > > I had the same issue and had to restart J and remove 'cairo'. I think pd > > might be caching the option that was previously set. I agree, the picture > > looked nice > > > > > > On Fri, Feb 14, 2014 at 3:02 PM, Raul Miller <rauldmil...@gmail.com > >wrote: > > > >> I am getting > >> > >> |value error: pd_cairo > >> > >> even if I remove the word 'cairo' from your code. > >> > >> Still, the picture you posted to google+ looks nice. > >> > >> Thanks, > >> > >> -- > >> Raul > >> > >> > >> On Fri, Feb 14, 2014 at 2:12 PM, Devon McCormick <devon...@gmail.com> > >> wrote: > >> > >> > I'll let the rest of you waste more time on this than I already have: > >> > > >> > pd 'color red;pensize 8;output cairo 1000 1000' > >> > pd (X j. Y"0) 1j1#i: 3.15j1000 > >> > pd 'color blue;pensize 15' > >> > pd nn=. 3j2-~2%~(_16}.5+i:5j99)^~/1j1*1+99%~i:5j999 > >> > pd (1.5*2-~0{tt)j."1 (1{tt)+"1 (8%~1-~i.5)+/|.400%~i.1000 [ tt=. > >> > |:+._1{nn > >> > pd 'show' > >> > > >> > > >> > > >> > On Fri, Feb 14, 2014 at 12:25 PM, Raul Miller <rauldmil...@gmail.com> > >> > wrote: > >> > > >> > > Oh, that leads to some interesting ideas. Here's a fun one: > >> > > > >> > > require 'plot' > >> > > > >> > > X=: 16 * (1&o.)^3: > >> > > > >> > > Y=: 13 _5 _2 _1 +/ .* 2 o. (1+i.4)&* > >> > > > >> > > 'color red' plot (X j. Y"0) 1j1#i: 3.15j1000 > >> > > > >> > > > >> > > The 1j1# makes every other point on the curve be at the origin, > which > >> > > approximates a solid. The Moire effect is kind of interesting, but > >> > pensize > >> > > 4 is also worth trying with this. > >> > > > >> > > > >> > > Thanks, > >> > > > >> > > > >> > > -- > >> > > > >> > > Raul > >> > > > >> > > > >> > > On Fri, Feb 14, 2014 at 11:45 AM, J. Patrick Harrington > >> > > <j...@astro.umd.edu>wrote: > >> > > > >> > > > and a thicker line: > >> > > > > >> > > > 'pensize 4; color red' plot ... > >> > > > > >> > > > > >> > > > > >> > > > On Fri, 14 Feb 2014, Joe Bogner wrote: > >> > > > > >> > > > Thanks! That did it > >> > > >> > >> > > >> > >> > > >> On Fri, Feb 14, 2014 at 11:34 AM, Jan-Pieter Jacobs < > >> > > >> janpieter.jac...@gmail.com> wrote: > >> > > >> > >> > > >> Same thought here! > >> > > >>> > >> > > >>> try 'color red' plot .... > >> > > >>> > >> > > >>> Jan-Pieter > >> > > >>> > >> > > >>> > >> > > >>> 2014-02-14 17:32 GMT+01:00 Joe Bogner <joebog...@gmail.com>: > >> > > >>> > >> > > >>> Thanks for sharing! How can I make it red? I tried pd > 'itemcolor > >> > red' > >> > > >>>> > >> > > >>>> > >> > > >>>> On Fri, Feb 14, 2014 at 11:20 AM, Raul Miller < > >> > rauldmil...@gmail.com> > >> > > >>>> wrote: > >> > > >>>> > >> > > >>>> Hopefully this is not too inappropriate: > >> > > >>>>> > >> > > >>>>> require 'plot' > >> > > >>>>> X=: 16 * (1&o.)^3: > >> > > >>>>> Y=: 13 _5 _2 _1 +/ .* 2 o. (1+i.4)&* > >> > > >>>>> plot (X j. Y"0) i: 3.15j1000 > >> > > >>>>> > >> > > >>>>> Thanks, > >> > > >>>>> > >> > > >>>>> -- > >> > > >>>>> Raul > >> > > >>>>> > >> > > > ---------------------------------------------------------------------- > >> > > >>>>> 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 > >> > > >>> > >> > > >>> > >> > > ---------------------------------------------------------------------- > >> > > >> 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 > >> > > > >> > > >> > > >> > > >> > -- > >> > Devon McCormick, CFA > >> > ---------------------------------------------------------------------- > >> > 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 > -- Devon McCormick, CFA ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm