Scatter graph with line

Bill Denney bill at denney.ws
Thu Feb 12 19:06:22 CST 2009


Hi Oscar,

Assuming your data is a pair of vectors x and y:

x = rand (10, 1);
y = rand (10, 1);
plot (x, y, "x-k")

should do something like what you're wanting.

The "x-k" makes the symbols xs at each point, the - makes it a solid
line, and the k makes it black.  You can see more info by typing

help plot

at the Octave prompt.

Have a good day,

Bill

Oscar Bayona Candel wrote:
> Hi all I want to use scatter graph but linking each pair of points
> with a line. Can anyone give me light...
>  
> Thanks in advance.
>  
>
>
> ------------------------------------------------------------------------
> ¿Tu fondo de escritorio es aburrido? Anímalo con las imágenes más
> espectaculares
> <%20http://search.live.com/results.aspx?q=imagenes+fondos+de+escritorio&mkt=es-ES&setlang=es-ES&FORM=W5WA&mkt=es-es>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Help-octave mailing list
> Help-octave at octave.org
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090212/0085a282/attachment.html 


More information about the Help-octave mailing list