Mr. Shaw - you can save arbitrarily large plots by specifying (width height) when saving as a bitmap, e.g. pd 'save bmp \amisc\bigpic.bmp 2000 2000' (you do have to "pd 'show'" before saving as I just discovered.)
The EMF format seems to work in J6.01 for the simple test I just did. This allows one to look at the file in an arbitrary size when opening it. So, far I haven't been able to figure out if this handles fine resolution well as I can only open an image of 2458 by 1912 (a multiple related to my screen size) before running into memory limitations. Hope this helps, Devon McCormick On 10/24/07, Shaw, Ewart <[EMAIL PROTECTED]> wrote: > > I'm wanting to produce screen graphics (e.g. contour plots) > and also equivalent high-quality output files to include in > documents & posters that are typically produced using pdfLaTeX. > NB. it's easy to produce TeX text separately and overlay it on the plot. > > Unfortunately, files created by plot etc. can be too jagged/lumpy, > even if the plot is maximised before saving as EPS or PDF - > e.g. the dotted & dashed lines in Studio-Demos-plot-2D-LinePatterns. > I have written code to produce PNG files using image3 & a large bitmap, > but would much prefer to use a proper vector graphics format. > > I contemplated writing EMF format, but glfile seems not to work in J6.02 > (I just get a "domain error" message) - Devon McCormick reported a similar > problem in [JBeta] "Saving OpenGL image?", Apr 25 2006. > > I've also used MetaPost in the past, but as everything I need could be > (& has on occasion been) implemented using only > 1. points and straight lines with arbitrary pen size, and > 2. filled polygons, > there surely should be a simpler approach. In fact my PNG-producing code > uses filled polygons to produce the points & lines with arbitrary pen > size! > > Is anyone already doing something similar - I don't want to reinvent the > wheel (again) and would much rather steal someone else's hubcaps :-) > Is the EMF route feasible? > > Regards, Ewart Shaw > > J.E.H.Shaw http://www.warwick.ac.uk/statsdept > Ewart Shaw http://www.ewartshaw.co.uk > Scary portraits! http://metalmanatee.deviantart.com/gallery/ > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
