[newbie] problem producing pslatex output-file



On 06/12/2012 08:56 PM, Hugo Coolens wrote:
> I think the following message did not get through because of problems 
> with the maxima-list, so allow me to repost it:
>
>
> On Sun, 10 Jun 2012, Hugo Coolens wrote:
>
>> I'm trying to produce a pslatex-file of a graph which plots fine on the
>> screen but I don't get any file. This is the command I'm using:
>> wxplot2d([db],[f,20,2e6],[logx],[gnuplot_term,'pslatex],[gnuplot_preamble,"set 
>> mxtics 10; set mytics 5;set grid xtics mxtics ytics 
>> mytics;"],[gnuplot_out_file,"acl0.tex"]);
>>
>> I'm using wxMaxima 0.8.5 and Gnuplot 4.4 patch level 2
Hi,
I can't help you with wxMaxima, and I don't know the db expression you 
used, but I tried the  command:

plot2d 
([1/f],[f,20,2e6],[logx],[gnuplot_term,'pslatex],[gnuplot_preamble,"set 
mxtics 10; set mytics 5;set grid xtics mxtics ytics 
mytics;"],[gnuplot_out_file,"acl0.tex"]);

and it worked fine in the current git version of Maxima, with Gnuplot 4.4.

The following command might help you when you are trying to find a 
problem with a plot:
   set_plot_option([plot_format,gnuplot])$
that way, after each plotting command a file maxout.gnuplot should be 
created. You can then work
with gnuplot interactively and use the command
  load "maxout.gnuplot"

If there is any problem with the file, gnuplot should give you an 
explanation of the error.

Regards,
Jaime