From: Alan W. I. <ir...@be...> - 2013-01-29 01:18:12
|
On 2013-01-15 12:47+0800 Hǎiliàng Wáng wrote: > Hello, > > I'm plotting a small PDF graph (128x96) with cairopdf driver, and the > line width looks too thick with line width 1. > > To solve the problem, I modify the code within the cairo driver > (cairo.c) to set the the line width to 0.2 directly, and the result > looks pretty good. > > I have read the thread below so I know there is no plan to change > function plwid's parameter from int to float: > http://www.mail-archive.com/plp...@li.../msg00429.html Hi Hǎiliàng: "there is no plan to change" is a literally correct summation of what I said before, but I also emphasize now (if it wasn't clear before) I would like to see such a plan developed because integer widths for plwid are just too much of an API limitation these days. I think what we should do is deprecate plwid(PLINT width) and write a new function declared as void plwidth(PLFLT width); I will contine this discussion further on the PLplot development list. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |