If you want to save image file, try using the cairo output, eg

'aspect 1;output cairo' plot i.10

the image file is at

jpath '~temp/plot.png'

to specify filename and image size, use this format

'output cairo /home/bill/myplot.png 600 600' plot i.10

please see  http://www.jsoftware.com/jwiki/Plot/Commands for output
command options.

if if remember correctly.  A browser should automatically launched
to view that png, not sure why it didn't work for you.

Пнд, 09 Апр 2012, Linda Alvord писал(а):
> 
> This worked well in gtk. Actually without out that sentence I got not plot
> at all!
> 
> 'aspect 1;output gtk' plot 0 1  NB. new, reconfigurable gtk window
> 
> It is even a graph in its own window AND I can change its size.  If I could
> remember how to do a screen capture, I might even be able to paste it into
> the e-mail.  This is quite exciting.
> 
> Linda
> 
> 
> 
> -----Original Message-----
> From: programming-boun...@jsoftware.com
> [mailto:programming-boun...@jsoftware.com] On Behalf Of David Ward Lambert
> Sent: Monday, April 09, 2012 8:36 PM
> To: programming@jsoftware.com
> Subject: Re: [Jprogramming] How to double the height of a plot
> 
> On Tue, 2012-04-10 at 08:10 +0800, programming-requ...@jsoftware.com
> wrote:
> > Date: Mon, 09 Apr 2012 02:36:49 -0400
> > From: "Linda Alvord" <lindaalv...@verizon.net>
> > Subject: [Jprogramming] How to double the height of a plot
> > To: "'Programming forum'" <programming@jsoftware.com>
> > 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

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to