I'm trying to plot I = I0*(exp(q*V/n/k/T)-1) as a function of V for
several different values of n. I have:
I = [I0*(exp(q*V/n/k/T)-1) for n in [1, 1.5, 2]]   (thanks, Jason)

If I then say plot(I), it shows one of the lines shooting up to huge
values, and the other two are very small (laying on the abscissa). I
can limit the domain such as plot(I, (V, 0, 1)), but this doesn't help
- it will still accommodate the range for the larger function leaving
the other two looking minuscule. (see output here:
http://shawnjgoff.com/files/sageHelp_largeRange.png )

Looking through the documentation, I found a trick:
show((line(I[0]) + line(I[1]) + line(I[2])), ymin=0, ymax=1, xmin=0,
xmax=2)
This is very close, except for some reason the domain is limited from
0 to 1 even though I have "xmax=2" in there. (see output here:
http://shawnjgoff.com/files/sageHelp_domainLimiting.png )
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to