| Author |
Comment/Response |
emigdio
|
08/23/12 07:56am
Dear All:
I have two questions:
Do you know how save a graph in mathematica, but using command?
how can I change the name of a file in a loop?
my idea is to do a small program like this:
(in pseudo code)
F(x,T) # function depends on T and x
FOR T0=1 to 100
Plot[ F(x,T0), {x,0,1}]
Filename= sprintf('f%d',T0);
# Matlab command, now Filename = T0 (Character)
print(Filename, '-dtiff')
# This command is of Matlab and It permits save
# the graph as T0.tiff
close # close the graph
Clear[Filename]
END
Any comments!!!
Best Regards E.
URL: , |
|