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

Reply via email to