Il giorno mer, 25/08/2010 alle 10.22 -0600, Robert Dodier ha scritto:
> On Wed, Aug 25, 2010 at 7:55 AM, Marco Rofei <marco.rofei at gmail.com> wrote:
>
> > Files has numerical names (1,2,3,4,5...) and i want maxima
> > read file 1 and print graph in jpg-format.
> > The pic name has to be the same as imput file-name.
>
> > read_matrix("...path.../i-th file");
> > .....
> > draw2d( ... , file_name = "...path.../i-th file", ...)
>
> I'm not sure how to get draw2d to make a JPEG, but in any event
> I think it's probably a bad idea to write the JPEG output to the
> same file which contains the numerical input.
> Presumably you want the output to be concat("path/to/i-th-file", ".jpeg")
> or something like that.
>
> HTH
>
> Robert Dodier
Probably I explained what i wish really bad :)
I don't want to write output in the same file as imput, i want that
output file has the same name of imput file.
I solved, following Mario's example, that way
draw2d( .... terminal='jpg,
file_name=concat("/...path.../",i), ...)
Many thanks Mario :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: face-smile.png
Type: image/png
Size: 873 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20100825/0cd1b0f3/attachment.png>