On 2013-10-07 08:01-0700 phil rosenberg wrote: > Hi
> 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 position. > But I guess this is an API change, unless anyone would be happy to have a second version of the function with different parameters. Hi Phil: 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 this case. 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 __________________________ ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
