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/plplot-general@lists.sourceforge.net/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
__________________________

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to