Interesting plot behavior

David Bateman dbateman at dbateman.org
Wed Apr 15 17:44:54 CDT 2009


Robert T. Short wrote:
> So do we have to do it the same as Mathworks?  This topic has come up 
> a few times since I have been on this list - what, exactly, does 
> compatibility mean?
Compatibility to me means I can share my code with others and expect it 
to work exactly the same way if these others happen to use matlab. Also 
and perhaps more importantly we the octave community can use the vast 
store of user generated matlab code out there and expect it to work 
correctly in Octave. So yes I personally consider that compatibility is 
important.

> I got around this just fine, so I don't figure this is a bug, just 
> thought it was kind of goofy.  BTW, MATLAB scatter plots are horribly 
> slow too (not as bad as this), but I never found a good way around 
> it.  Also, I have an old version of MATLAB, so I could be all wet.
I presume that matlab is horrible slow for the same reason. In fact if 
it wasn't for the fact that all of the patches can have different colors 
we could keep compatibility and basically combine all of the patches 
into a single gnuplot plot command as your workaround basically does. I 
suppose we could special case this case, but the __go_draw_axes__ 
function is already incredibly complex..

D.


>
> Thanks for the response.


-- 
David Bateman                                dbateman at dbateman.org
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)



More information about the Octave-maintainers mailing list