From: Greg Whittier <greg@th...>  20040402 10:54:40

One thing I'm not sure of is just how polar plots are supposed to work. If you set the axis background color, what gets colored? To get that right (if "in the circle" is right), I guess you'd need a new Axes class. In gnuplot, everything is drawn in the rectangle. "set polar; set grid; plot sin(3*t)" gives you a rectangular grid. You have to do "set grid polar" to circles. Of course gnuplot isn't what we're going for (How do you change background color? The only way I know is using xresources.) I guess the answer should be what matlab does (unless we can think of something better). Now I've never used matlab, so this will take a little research. I borrowed a matlab graphics book and will take a peek. Keep up the good work. Thanks, Greg PS Say hi to hyde park for me. I graduated in 98. On Wed, 20040331 at 07:54, John Hunter wrote: > >>>>> "Greg" == Greg Whittier <greg@...> writes: > > Greg> As a temporary solution you might try just transforming your > Greg> r,theta data to x, y and then drawing a grid over it. > > A nice workaround. You may want to add > > axis('off') > > To get rid of the background axes. > > Greg> I looked at the classes and with the loglog already done as > Greg> an example, it shouldn't be too hard to add polar plotting. > Greg> So far though I haven't got any further than printing out > Greg> some of the code. > > I was planning on taking a different tack, and derive a PolarAxes from > Axes and RadialAxis from Axis, etc, which uses circles rather then > lines for the radial gridlines, and so on. But you get so close with > so little code that your approach may be better. If you want to keep > forging ahead, I'm happy to leave the ball in your court. > > On an unrelated note, > > from Numeric import * > from matplotlib.matlab import * > > is redundant because matplotlib.matlab imports all of numeric/numarray > as well as MLab, fft, and some stuff from LinearAlgebra and Matrix. > This is to provide a matlab like environment where most of the things > you need are there. > > JDH > > >  > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Matplotlibusers mailing list > Matplotlibusers@... > https://lists.sourceforge.net/lists/listinfo/matplotlibusers  Greg Whittier <greg@...> 