octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help running sample quiver code in Matlab


From: Rik
Subject: Help running sample quiver code in Matlab
Date: Wed, 16 Oct 2013 14:26:56 -0700

I'm trying to get visual compatibility with Matlab for most of Octave's
plot routines.  For quiver I have code that visually produces
near-identical results, but the arrow head size is 0.33 instead of 0.2.  I
wonder if the Matlab documentation is inaccurate.  Could someone try the
following and send back the answer and the png file?

Test Code:
[x,y] = meshgrid (0:0.2:2,0:0.2:2);
u = cos (x) .* y;
v = sin (x) .* y;
h = quiver (x,y,u,v);
get (h, 'MaxHeadSize')
print -dpng quiv_tst.png

Cheers,
Rik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]