# EMT 23.4

Upon request, I programmed some functions to generate a plot step by step in Euler Math Toolbox. With that you can do weird things like the following.

You need to call plot2d with grid=0, frame=0, and then plot the axes one by one. Scilab plots work this way. To plot the second function with its different coordinate system, you can use „hold on“ and the usual plot functions.

Here is the code for this:

>fullwindow();
>x=linspace(1,30,200);
>y=exp(x/6)*(1+sin(x));
>plot2d(x,y,<frame,grid=0,color=red); yaxis(30,0:20:160,>right,color=red);
>xaxis(0,0:2:30,color=black,style="-",):
>y=exp(-x/10);
>hold on; plot2d(x,y,a=0,b=30,c=0,d=1,<frame,<grid,color=blue); hold off;
>yaxis(0,0:0.1:1,color=blue,textcolor=blue,>left);
>reset:

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.