Re: How do I make a log-log plot?



Raymond Toy writes:
>>>>>>"Robert" == Robert Dodier  writes:
> 
> 
>     Robert> Well, how about this. 
> 
>     Robert> (1) logx and logy are boolean plot_options which indicate
>     Robert> logarithmic transform of the x and y axes respectively.
> 
> Ok.  This is done.  These all work (for gnuplot):
> 
> plot2d(1.5^x,[x,0.001,20], [logx, t]);
> plot2d(1.5^x,[x,0.001,20], [logy, t]);
> plot2d(1.5^x,[x,0.001,20], [logx, t], [logy, t]);
> 
> For each of these, the appropriate axis (or axes) are logarithmically
> scaled by gnuplot.  And enough samples are taken of the x axis to give
> a smooth plot.
> 
> I'll be checking this change in shortly on the main branch.  This is
> only for gnuplot.  I didn't try to make it work for any other plotting
> method since I don't use or don't have them.
> 

Why t?  IMHO true is more appropriate here.
This is Maxima command not Lisp one.

-- 
      Vadim V. Zhytnikov