On Wed, Mar 05, 2014 at 08:18:59AM -0800, Alan Irwin wrote: > [This was originally sent to plplot-general in error. Please reply > on this list, plplot-devel.] > In my research I use the plsurf3dl function quite a lot to plot > FreeEOS results as a function of density and temperature since those > results typically are only defined for an irregular X,Y region where > the Y index limits are a function of the X index. The reason why I > have non-constant Y limits is because for certain densities the > FreeEOS calculation that models stellar conditions fails at > temperatures that are too low or temperatures that are too high, and > those failure limits do not follow a nice smooth curve. > > The plsurf3dl function has long been part of the PLplot API. I > recently (just before the release) documented it in api.xml and now I > have also decided to include it in standard example 8. For this case > (revision 13039), I have chosen indexymin and indexymax limits that > follow an ellipse (subject, of course, to index quantization errors). > I have attached the result for the -sombrero case for the fourth page > of the revised example 8 so you can get a feel for what the plotted > results look like. The edges are definitely not smooth since that is > the nature of the beast when index limits are imposed. However, that > is why plsurf3dl is ideal for plotting results from scientific > calculations of some model function representing the real universe > (e.g., pressure as a function of density and temperature) with two > independent variables which typically do have Y index limits which are > functions of the X index rather than constants. > > Frankly, the elliptical limits look better with the -sombrero version > of the function so I am thinking of a further change to this example > such that the sombrero variant of the function is always used for the > fourth and eighth pages. But further suggestions to make these extra > pages pleasing to the eyes would be welcome before we propagate this > change for standard example 8 to the rest of our languages.
Alan, I agree this is a useful addition to the example, and it is certainly good to ensure the API is as fully tested by the examples as possible. I also agree that the sombrero variant looks better (for all the pages and not just for the new ones) so I'd go ahead and make that change unless anyone else objects. Andrew ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
