On July 23, Renzo Del Fabbro wrote:
----------------------------------------------
> I have a rho(C,k) function, and I'd like to plot the following 5 curves
>
> for n:1 thru 5 do (k:10^n*1e-5, plot2d([rho],[C,10e-9,20e-9]));
>
> NOT in five, but just in ONE plotting window.
>
> How to get it ?
>
> Thanks,
>
> Renzo
-----------------------------
Hi Renzo,
I am just back in town, checking email.
Since you have not given me a function rho to work
with, here is a path using a simple function:
======================
(%i1) display2d:false$
(%i2) rho(k,u) := u^k$
(%i3) plotL : makelist ( rho(k,u), k, 1, 5 );
(%o3) [ u, u^2, u^3, u^4, u^5]
(%i4) legL : cons ( 'legend, makelist ( string (k), k, 1, 5 ) );
(%o4) [ legend, "1", "2", "3", "4", "5" ]
(%i5) plot2d ( plotL, [u, -1, 1], [x, -1, 2],
[style, [lines, 3] ], legL )$
================
For your actual problem, you have the variable C
being varied over a tiny interval for the plot. May I
suggest that you introduce suitably normalized variables
k and C such that the interesting values of the new
variables are all of order one.
Best Wishes,
Ted