On 2013-10-07 08:01-0700 phil rosenberg wrote:
> I've just been sorting out plotting some transformed map data - in
this case plotting data on a globe as would be viewed from space.
After writing a transform class I realised that there is no void*
parameter to pass transform data to plmap and no void * parameter of
mapform. Am I missing a way to be able to do this?
> It would certainly be useful in the same way as for other
transforms. In the scenario above there are obvious benefits to having
such a feature as I'd be able to create a generic transform and be
able to pass a class or struct containing details about the satellite
> But I guess this is an API change, unless anyone would be happy to
have a second version of the function with different parameters.
The documentation of plstransform says that the data parameter can be
used to pass required extra data, and the same general transformation
method is used in a number of other cases as well, e.g., the pltrl and
pltrl_data arguments of plcont, plshade, and plshades, and plimagefr.
I may be missing something, but I am currently wondering why
this transformation method not general enough for your needs in
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).