Could it be clarified what is needed - high resolution bitmap graphics (BMP, not EPS) OR - vector graphics (EPS or PDF) with fine lines ? And what exactly is jaggedness?
For the fine vector graphics for example, in the Demo page Studio|Demos|plot|2D-LinePatterns set pd 'pensize 0.001' then save to EPS (Options|Save EPS) and it will produce very thin lines. For bitmap graphics, you can roll your own antialiasing: - pd 'pensize 2' use thick lines - and 'save bmp [file] [w h]' i.e. huge w h - resize 0.25 or so times with nice resampling like Lanczos. which will produce thin and smooth lines. Would you be looking for bitmap renderer that produces antialiased output by itself like GDI+/Cairo/Quartz/Java2D? --- "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 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
