[UNCLASSIFIED]RE: [clug] Postscript Graphing Library for programm ing

Antti.Roppola at brs.gov.au Antti.Roppola at brs.gov.au
Mon Jun 19 02:24:27 GMT 2006


Hi Paul,

Try R, http://www.r-project.org/ AFAIK, the raster renderer is still a
syscall to Ghostscript, but I have previously found that the default
settings (i.e. DPI) are very hackable if they are not to your satisfaction:

	image.pixel.width<-579
	image.pixel.height<-300
	image.at.a.glance.pixel.height<-252
	image.dpi<-100

	plotting.context<-function(x) bitmap(file=x, type="png256", width=ceiling(image.pixel.width/image.dpi), 	  ceiling(image.pixel.height/image.dpi), res=image.dpi, pointsize=11)
	  plotting.context.at.a.glance<-function(x) bitmap(file=x, type="png256", 	  width=ceiling(image.pixel.width/image.dpi), ceiling(image.at.a.glance.pixel.height/image.dpi), 	  res=image.dpi, pointsize=11)

	...

We cron it in batch mode to generate graphs of very large climate datasets.

Cheers,

Antti
 

-----Original Message-----
From: linux-bounces+antti.roppola=brs.gov.au at lists.samba.org [mailto:linux-bounces+antti.roppola=brs.gov.au at lists.samba.org] On Behalf Of Paul Wayper
Sent: Monday, 19 June 2006 11:42 AM
To: CLUG List
Subject: [clug] Postscript Graphing Library for programming

Hi people,

I thought I'd put out a request to the Lazyweb for information about drawing graphs (bar charts, line charts, etc) in a program (e.g. in
Perl) that can be output directly to a printer.  I'm trying to graph information that has a lot more statistical resolution than the 65,536 data rows that OpenOffice Calc seems to be limited to.  My current program uses the GD::Graph library, which is fine if you want to output a PNG at a large resolution, load it into GIMP, scale it to the page and print it - because that's the only way I've found so far of actually outputting the graph in anything near the printer's actual resolution (everything else seems to think that 50DPI is fine).  I don't mind if I do the rasterisation inside the program rather than inside the printer driver - so I don't _have_ to output PostScript - but I want something that can take up an entire sheet of A4 at 360DPI or better.

Any recommendations?

Have fun,

Paul

P.S. I've tried ploticus.  I intend to translate its entire manual into Esperanto - that way more people would be able to understand it than the way it's currently written.
--
linux mailing list
linux at lists.samba.org
https://lists.samba.org/mailman/listinfo/linux

---------------------------------------------------------------------- 
IMPORTANT - This message has been issued by The Department of Agriculture, Fisheries and Forestry (DAFF).  The information transmitted is for the use of the intended recipient only and may contain confidential and/or legally privileged material.  It is your responsibility to check any attachments for viruses and defects before opening or sending them on.  
Any reproduction, publication, communication, re-transmission, disclosure, dissemination or other use of the information contained in this e-mail by persons or entities other than the intended recipient is prohibited.  The taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited.  If you have received this e-mail in error please notify the sender and delete all copies of this transmission together with any attachments.  If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one advise the sender by return e-mail accordingly.  Only e-mail correspondence which includes this footer, has been authorised by DAFF 
----------------------------------------------------------------------


More information about the linux mailing list