From: Pierre Fourest <pierre.fourest@la...> - 2006-07-10 14:51:56
I want to create a file of datas with maxima to produce an histogramm
How must I order the datas? In a list? or in a matrix(n,2) ? or in
How can I produce the file xxx.dat ?
Thank You for an answer.
From: Robert Dodier <robert_dodier@ya...> - 2006-07-11 06:05:11
I apologize, but I don't speak French (despite my name).
So I'll respond in English.
> I want to create a file of datas with maxima to produce an histogramm
> with gnuplot.
> How must I order the datas? In a list? or in a matrix(n,2) ? or in
> sequence [[.,.][.,.]......]?
> How can I produce the file xxx.dat ?
If you have already computed the data and you only want
to write the data to a file --
The function write_data in the package numericalio
writes data to a file. For example,
M : matrix ([1, 2], [11, 22], [111, 222]);
write_data (M, "/tmp/tmp.out");
To see information about write_data,
If you have not already computed the data --
The functions barsplot and histogram in the descriptive package
make histograms, for discrete and continuous data, respectively.
loads the package.
should display information about them. Note: The descriptive
package is new in Maxima 5.9.3, and older versions of Maxima
do not have it.
Both barsplot and histogram assume the input is a list of
values, which are counted to find relative frequencies.
So you don't need to count them before calling barsplot or histogram.
Hope this helps,
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around