[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Change color of vectors in quiver
From: |
Andres Sepulveda |
Subject: |
Change color of vectors in quiver |
Date: |
Mon, 23 Jan 2012 12:57:23 -0300 |
Hi,
I would like to change the color of the vectors plotted with quiver.
This works
octave:10> [x, y] = meshgrid (1:2:20);
octave:11> quiver (x, y, sin (2*pi*x/10), sin (2*pi*y/10));
and I can even increase the vector size
octave:12> quiver (x, y, sin (2*pi*x/10), sin (2*pi*y/10),2);
but not the color
octave:13> quiver (x, y, sin (2*pi*x/10), sin (2*pi*y/10),2,'k');
error: set: invalid value for radio property "linestyle"
error: called from:
error: /usr/local/share/octave/3.3.52/m/plot/private/__line__.m at
line 65, column 5
error: /usr/local/share/octave/3.3.52/m/plot/line.m at line 38, column 5
error: /usr/local/share/octave/3.3.52/m/plot/private/__plt__.m at
line 583, column 12
error: /usr/local/share/octave/3.3.52/m/plot/private/__plt__.m at
line 196, column 14
error: /usr/local/share/octave/3.3.52/m/plot/private/__plt__.m at
line 79, column 17
error: /usr/local/share/octave/3.3.52/m/plot/plot.m at line 193, column 9
error: /usr/local/share/octave/3.3.52/m/plot/private/__quiver__.m at
line 185, column 12
error: /usr/local/share/octave/3.3.52/m/plot/quiver.m at line 72, column 11
Is it possible?
Regards,
--
Andres Sepulveda
Departamento de Geofisica
Universidad de Concepcion
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Change color of vectors in quiver,
Andres Sepulveda <=