Hi All

I have just pushed a commit with a change to the documentation which I
believe reflects the things we have said. The changes are to the
plspage and plsetchr functions in the API section.

If anyone thinks further changes are needed then that's fine, but I
thought it would be good if any changes we were making based on this
discussion could be based on the actual documentation, rather than on
emails that may or may not get properly documented.

Phil

On 21 August 2015 at 21:23, Alan W. Irwin <ir...@beluga.phys.uvic.ca> wrote:
> To Phil and Jim:
>
> Having slept on the idea of setting an explicit default values for
> xdpi, ydpi, and length arguments (see below) in each stream, I
> have now decided that is a bad idea because of the inability to
> distinguish between the default value and a user-set value for
> the stream.
>
> So what I have done instead (commit id 3e430ae) is to
> leave the default stream value for xdpi and ydpi at 0.,
> add the line
>
> #define PLPLOT_DEFAULT_DPI 90.
>
> to plplotP.h, and change the gd, cgm, and wxwidgets device drivers
> to use this value by default if the user has not set the
> xdpi and ydpi stream values.
>
> I will look further at ps, psttf, and qt to see what can be done with
> user-set and default dpi in those cases, and I request Jim and Phil to
> do the same thing for wingcc and Jim's new driver cases.
>
> On 2015-08-21 09:56+0100 Phil Rosenberg wrote:
>
>> While we are on the topic of standardising DPI is it also worth
>> standardising page size? It might be useful to have a set of default
>> sizes, perhaps portrait A4, for noninteractive drivers, and a default
>> size for interactive drivers which would be a scaled version of that
>> for noninteractive drivers as A4 is significantly bigger than my
>> laptop screen assuming 90 dpi? Not sure if raster and non raster
>> drivers should have different default sizes?
>
>
> I think the same approach of defining symbolic constants in plplotP.h and
> updating
> drivers to use those rather than their own "unique" values would be
> good here.  Note in my above wxwidgets change I carefully separated
> updating dpi from updating length constants so modifying that code
> to use symbolic length constants should be straightforward.
>
>
> 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
> __________________________

------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to