Additional core 2D plotting functions

David Bateman adb014 at gmail.com
Mon Dec 17 16:42:31 CST 2007


Here is a patch that adds the feather, compass and rose functions. These
are matlab core 2D plotting functions. After this patch, the only
missing 2D core plotting functions are the ez*.m functions. I suppose
the ez*.m function might be written as well though haven't looked at them.

There are many more missing 3D functions that either need lighting
(surfl, etc), or filled patches (fill3, waterfall), and there are a
couple that might be written with the existing functionality like
contourslice. Maybe after 3.0

The patch also modifies the polar function, though John you might choose
to drop this part. My issue with polar is that the matlab version, draws
a circular patch object, and then adds circular and radial dashed lines
to it. Although no handle is returned to these you can see they exist with

h = polar(1:10)
get(gca(),'children')

I'm not sure its a great idea to do this, but we can make the polar
plots look a bit nicer with the attached patch to polar.m. It also added
the possibility to allow {x|y}axislocation to be "zero" and the axis is
printed on the zero axis (if possible), which is not matlab compatible
but seems like a fairly obvious thing to want to do. Note that as it
stands {x|y}axislocation are not radio values and can take on any value
the user wants. This should probably be fixed.

Regards
David
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch8
Url: https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20071217/1216e228/attachment-0002.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch8.changelog
Url: https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20071217/1216e228/attachment-0003.ksh 


More information about the Octave-maintainers mailing list