plotting to psfile?



[gnuplot_term,ps],
[gnuplot_out_file,"/pathtodir/filename"]
it can be ps, png svg or any imag extension
terminal=eps,filename="/pathdtodir/filename"

Le 11/05/2012 18:23, Jaime Villate a ?crit :
> On 05/11/2012 05:13 PM, Raymond Toy wrote:
>> On Fri, May 11, 2012 at 8:51 AM, Richard Fateman 
>> <fateman at eecs.berkeley.edu <mailto:fateman at eecs.berkeley.edu>> wrote:
>>
>>     I was hoping to produce a postscript EPS file of a plot (so I
>>     could include
>>     it in a TeX file), using Maxima.  I thought something like this
>>     would work:
>>
>>     plot2d(sin(x),[x,-%pi,%pi],[psfile,"sinplot"]);
>>
>>     but what was produced was a gnuplot file, not EPS.
>>
>>     Did I do something wrong?
>>
>>
>> I think you need to add [gnuplot_term, "eps"].
> That should not be necessary, because the psfile option already sets 
> gnuplot_term to eps.
>
> I use "plot2d(sin(x),[x,-%pi,%pi],[psfile,"sinplot.ps"]);"
> all the time to include the plot in Latex files, and it works for me.
> Even if I use "sinplot" for the file name, a PostScript file will be
> created. Perhaps is a feature of the Windows port of gnuplot?: please
> try using a file name with a .ps or .eps extension (sinplot.ps).
>
> Regards,
> Jaime
>
>
>
>
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima