From: Hezekiah M. C. <hez...@us...> - 2010-04-12 06:04:47
|
PLplot developers and interested users, With PLplot trunk rev. 10905, I have committed basic support for universal 2D coordinate transformations in PLplot using a new function, plstransform. The commit includes an additional page in example 19 to illustrate how this function works. A path approximation function plpath has also been included which can be used to draw an approximation of a straight line in transformed coordinates. An update to the API docbook documentation for these two functions is included. "Universal," in this case, refers to the fact that _all_ PLplot plotting functions which act within the plot window should be affected by the defined transform. If no transform function is defined then all PLplot functions should act as they did before this commit. I have attached an example plot which takes advantage of this function both as an example of what this helps facilitate and to show that our modern output devices (pngcairo in this case) produce some very nice looking output! The example shows plmap, plmeridians, plimagefr and plcont all working with the same transformed coordinate system. I have been using this patch for several months now without trouble or regressions that I have seen. This patch does, however, touch a large number of core functions so I would like to request that other developers keep an eye out for possible regressions. The C and OCaml languages have been updated in this commit. Take care, Hez |