I wish to plot I = I0*(exp(q*V/n/k/T)-1) as a function of V for several different values of n.
I realize I can do something like this: I1 = I0*(exp(q*V/n[0]/k/T)-1) I2 = I0*(exp(q*V/n[1]/k/T)-1) I3 = I0*(exp(q*V/n[2]/k/T)-1) plot((I1, I2, I3, ...), (V, 0, 1)) But that feels wrong. I'm wondering if there is a better way. For instance, if it is possible to do something like: plot(( I(n=n[0]), I(n=n[1]), I(n=n[2]), ...), (V, 0, 1)) I think that would be great. Really, anything better than the example at the top would be nice. Thanks for your help. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
