Finally a graph that looks good. It is for jhs and a chrome browser.
load 'plot'
plotdef 'jijx';'plot';400 400;'canvas'
d=: 13 :'(0{x)-(-/x)*(i.>:y)%y' NB. domain intervals
T=:2p1 NB. Tau
rose=: 13 :'(1 o.x*y) (*"1) 2 1 o./y'
'aspect 1'plot ;/ (6 rose (0,T) d 555)*/0 1
Linda
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of David Ward Lambert
Sent: Monday, April 09, 2012 8:36 PM
To: [email protected]
Subject: Re: [Jprogramming] How to double the height of a plot
On Tue, 2012-04-10 at 08:10 +0800, [email protected]
wrote:
> Date: Mon, 09 Apr 2012 02:36:49 -0400
> From: "Linda Alvord" <[email protected]>
> Subject: [Jprogramming] How to double the height of a plot
> To: "'Programming forum'" <[email protected]>
> Message-ID: <000401cd161b$2517d7a0$6f4786e0$@net>
> Content-Type: text/plain; charset="us-ascii"
I'll guess that you want to control the plot aspect ratio. I do also.
Two requests triggers me into action, I investigated, finding this page
useful: http://www.jsoftware.com/jwiki/Plot/Options
$ jconsole
load'plot'
'aspect 1' plot 0 1 NB. "square" plot in my Chromium browser
NB. set two options at once!
'aspect 1;output gtk' plot 0 1 NB. new, reconfigurable gtk window
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm