Втр, 15 Июн 2010, Sherlock Ric писал(а):
> > From: David Vincent-Jones
> > Sent: Tuesday, 15 June 2010 12:40
> > 
> > On Sat, 2010-06-12 at 16:47 +1200, Sherlock, Ric wrote:
> > > Can you elaborate? If we can pinpoint what is inconsistent/confusing
> > > we can try and clarify it on the wiki?
> > 
> > A couple of questions .... a simple plot
> > 
> >    pd 'reset'
> >    pd 'textfont arial 40'
> >    pd ? 100#100
> >    pd 'show'
> >    pd 'save png "/home/david/Desktop/test.png" 600 400'
> > |domain error: isi_png
> > |   comp=.<.{.((-.msk)#num)    ,comp
> > 
> > 1. Textfont 12, 20 ... 40     nothing changes on the plot or the
> > printout.
> 
> Nothing changes because the textfont option applies to the text commands 
> http://www.jsoftware.com/jwiki/Plot/Commands#DrawingCommands  not the font of 
> the labels. There are different font options for different parts of the plot:
> captionfont, keyfont, labelfont, subtitlefont, symbolfont, textfont, 
> titlefont http://www.jsoftware.com/jwiki/Plot/Options 
> 
> > 2. 'save bmp' works just fine but not 'save png' ... why
> 
> The different file formats for the save command have different options  
> http://www.jsoftware.com/jwiki/Plot/Commands#Copycommands . From that page, 
> only the 'save bmp' format takes a width and height.
> 
>    pd 'reset'
>    pd 'labelfont arial 40'
>    pd ? 100#100
>    pd 'show'
>    pd 'save png ', jpath '~temp/test.png'

I think wiki needs update, save to png with wh might work a few years
ago. The bug was introduced when switching image library from image3
to platimg in Dec 13 08:54:57 2007 as shown in svn log.

-- 
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