>>>>> "Vadim" == Vadim V Zhytnikov writes:
Vadim> 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.
>>
Vadim> Why t? IMHO true is more appropriate here.
Vadim> This is Maxima command not Lisp one.
Oops. Too much lisp. Actually, anything other than false will work.
The code just checks to see if logx is not false (NIL).
If you really want only true and false to be acceptable values, that
can be done.
Ray