Re: [Plplot-devel] proposal for consideration: plcont_phase.c for contour plots of phase data

2010-04-20 Thread Maurice LeBrun
On Monday, April 19, 2010 at 22:35:33 (-0700) Alan W. Irwin writes: On 2010-04-19 22:21-0500 Maurice LeBrun wrote: [...] Note, people doing polar plots (shades or contours) have to similarly massage their data before passing it to plplot in order to pick up the continuity

Re: [Plplot-devel] proposal for consideration: plcont_phase.c for contour plots of phase data

2010-04-20 Thread David MacMahon
Hi, Maurice and Alan, On Apr 20, 2010, at 0:39 , Maurice LeBrun wrote: The general remapping of coordinates is a crucial part of it. I think you are referring to the 0/2pi coordinate seam when transforming a rectilinear grid to a polar grid. I think Ed (correct me if I'm wrong, Ed) is

Re: [Plplot-devel] proposal for consideration: plcont_phase.c for contour plots of phase data

2010-04-20 Thread Alan W. Irwin
On 2010-04-20 08:23-0700 David MacMahon wrote: Hi, Maurice and Alan, On Apr 20, 2010, at 0:39 , Maurice LeBrun wrote: The general remapping of coordinates is a crucial part of it. I think you are referring to the 0/2pi coordinate seam when transforming a rectilinear grid to a polar grid.

Re: [Plplot-devel] proposal for consideration: plcont_phase.c for contour plots of phase data

2010-04-19 Thread Alan W. Irwin
On 2010-04-19 13:47-0700 Ed Zaron wrote: Hi All, I've been using plplot for a project where we have to plot so-called co-tidal charts which display the amplitude and phase of the tide in the ocean. The amplitude is normally shown with a color image (made with plimage), and the phase is shown

Re: [Plplot-devel] proposal for consideration: plcont_phase.c for contour plots of phase data

2010-04-19 Thread Maurice LeBrun
On Monday, April 19, 2010 at 15:22:14 (-0700) Alan W. Irwin writes: On 2010-04-19 13:47-0700 Ed Zaron wrote: Hi All, I've been using plplot for a project where we have to plot so-called co-tidal charts which display the amplitude and phase of the tide in the ocean. The amplitude

Re: [Plplot-devel] proposal for consideration: plcont_phase.c for contour plots of phase data

2010-04-19 Thread David MacMahon
Hi, Ed, On Apr 19, 2010, at 13:47 , Ed Zaron wrote: it involves wrapping the phases locally for the corners of each grid cell. In addition to the already mentioned possibility of creating a wrapped phase copy of your data array, another alternative you might want to consider is using

Re: [Plplot-devel] proposal for consideration: plcont_phase.c for contour plots of phase data

2010-04-19 Thread Alan W. Irwin
On 2010-04-19 22:21-0500 Maurice LeBrun wrote: On Monday, April 19, 2010 at 15:22:14 (-0700) Alan W. Irwin writes: On 2010-04-19 13:47-0700 Ed Zaron wrote: Hi All, I've been using plplot for a project where we have to plot so-called co-tidal charts which display the amplitude and