help-octave
[Top][All Lists]
Advanced

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

Re: Tables in octave to linear regression,


From: Juan Pablo Carbajal
Subject: Re: Tables in octave to linear regression,
Date: Tue, 17 Apr 2012 15:53:05 +0200

2012/4/17 Darío <address@hidden>:
> Bueno gracias por la información,
>
>> A veces es mejor mandar el mensaje en nuetro idioma materno, para que
>> se entienda mejor.
>
> este lo voy a mandarlo en mi idioma, ayer estuve probando con algunos
> comandos y me pareció interesante, para graficar los valores, el
> siguiente:
>
> plot(x,y,'@+')
>
> lo cual me dibujaba sólo los puntos (sin unirlos) en el gráfico y con
> el símbolo + en cada punto del plano.
>
> Sólo resta averiguar bien el tema de las regresiones y agregar las
> barras de error.
>
>> If I got you right, you want the functions
>> date
>> datetick
>>
>> The "help" command is your best friend. Try also "lookfor dates".
>>
>
> el comando datetick me pareció más util para el tema de fechas.
>
> Perdón por la pésima escritura en inglés, me acabo de dar cuenta de
> las burradas que escribí!!
>
> Un saludo
>
>
> --
> Darío
> |-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|
> Por favor, no utilice formatos de archivo propietarios para el intercambio
> de documentos, como ser DOC, XLS, BMP, PPT, RAR, MP3, DWG,
> MOV, FLV, WMV, etc.  sino  ODT, ODS, DJVU, PDF, TXT,
> CSV, PNG, FLAC, OGV, GZ o cualquier otro que no obligue a utilizar
> un programa de un fabricante concreto.
> Info: http://www.gnu.org/philosophy/no-word-attachments.es.html
>        http://www.vaslibre.org.ve/publicaciones/odfvsooxml-es.pdf
> |-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|
>  ,              ,
> /                \
> ((__-^^-,-^^-__))
>  `-_---' `---_-'
>   `--|o` 'o|--'
>      \  `  /
>       ): :(
>      :o_o:
>        "-"
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave

Ok Darío,
Let give it a second round in English.

To plot as you discovered you use the "plot" command. Use "help plot"
to see all the possible formats.
To plot error bars you can use the function "errorbar", sadly it is
not very flexible in the formatting of the output. To avoid headaches
I do the following: Assume we have data "x", "y" with error bars in
"y" given by "dy"
figure (1);
h = errorbar (x, y, dy);
set (h, "linewidth", 2);
hold on
plot (x,y,'o','markersize',3);
hold off
grid on

I added some other commands that may be useful in the future. Explore
as much as you can.

Cheers,



-- 
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/


reply via email to

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