plot2d + gnuplot + line colors in rgb



El lun, 23-02-2009 a las 11:45 +0100, Julien Martin escribi?:
> Thanks a lot Mario,
> I switched to draw2d instead of plot2d and it now works.
> For those interested here is the code as modified on Mario's advice.
> 
> load(draw)$
> draw2d(    color="#ff0000",
>     explicit(max(-2.5, x-52.5),x, 40, 60), 
>     color="#000000",
>     explicit(0,x, 40, 60),
>     xrange=[40,60],
>     yrange=[-4,8],
>     xlabel="Underlying", 
>     ylabel="Option's Payoff",
>     terminal=eps, 
> 
> file_name="/home/julien/Documents/donn?es/finance/maxima/plot-option"
> )$

Glad to help, Julien.

It seems you are interested in financial matters. For your info, I have
uploded to cvs package 'finance' last december (a kind contribution by
Nicolas Guarin). If you have ideas to improve it, let me know (I am a
very bad economist).

Maxima code and texi documentation are here:

http://maxima.cvs.sourceforge.net/viewvc/maxima/maxima/share/contrib/finance/

Maxima's 0.02 EU to save this bankrupted world ;)


-- 
Mario