bug in quiver3
David Bateman
David.Bateman at motorola.com
Wed Nov 12 05:23:19 CST 2008
Kai Habel wrote:
> Hello all,
>
> while working on a surfl.m implementation, I noticed the following
> problem in quiver3 using the recent tip.
>
> I cannot plot single vectors with quiver3 like:
>
> quiver3(0,0,0,1,1,1,'Color','red')
>
> This should give a vector originating at (0,0,0) and ending at (1,1,1)
> but I get a plot with axes only.
>
Ok, this one is a bug in the autoscaling, and is fixed by the attached...
> I see another problem with:
>
> quiver3([0 4],[0 4],[0 4],[1 1],[1 1],[1 1],'Color','red')
>
> Here I would have expected a plot with two vectors (1,1,1) originating
> at (0,0,0) and (4,4,4) but I get a plot with two vectors originating at
> (0,0,0) and ending at (1,1,1) , (4,4,4) respectively.
>
> I have confirmed with matlab, the examples above are valid inputs for
> quiver3.
>
This one is due to the added properties and the change in the order of
the children of the graphics objects and teh property callback
functions. The stem functions also have a similar issue. The attached
patch should fix all of your problems..
D.
--
David Bateman David.Bateman at motorola.com
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch8810
Url: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20081112/77731a03/attachment-0001.ksh
More information about the Bug-octave
mailing list