On 2008-03-14 11:01+0100 Paul Wellner Bou wrote:

>> I think yes.  Once you get plgriddata and plshades working for polar
>> coordinates it should be a simple matter to use plbox to make a rectangular
>> box around the circular area created by plshades.  You can arrange the plbox
>> call so the tick marks on the box are for rectangular coordinates
>> corresponding to the polar coordinates used for plshades.
>
> Puh... I don't understand this at this moment. I'll have to dive into
> it. Converting it to polar coordinates, ok. This should be no problem.
> Then I would get (I hope so...) a regular grid in polar coordinates. But
> if I convert it back it may not be regular, in x-y, right?

By all means, plot the plshades result in a circular area. Set up plbox to
make a square object that fits around that circular area. All my remark
meant is you will have to make the x and y tick marks of the box correspond
to r cos theta, r sin theta where r and theta are the polar coordinates.

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); PLplot scientific plotting software
package (plplot.org); 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
__________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to