On Tue, Aug 19, 2008 at 8:23 PM, Mike Witt <[EMAIL PROTECTED]> wrote: > > Hi, I'm a long time Mathematica user who just discovered Sage a couple > of months ago, and I'm starting to warm up to it. I have a question > about parametric_plot. > > It appears that if you've got a function that evaluates to zero, then > parametric_plot won't accept it. For example, if z(a,b)=e^(I*b + a) > then this seems to be OK: > > show(animate([parametric_plot((real(z(x,b)), imag(z(x,b))), 0, 1) for > b in srange(pi/6, 2*pi/6, pi/24)])) > > But if I do this: > > show(animate([parametric_plot((real(z(x,b)), imag(z(x,b))), 0, 1) for > b in srange(-pi/6, 2*pi/6, pi/24)])) > > I have a problem, which (I *think*) is because the imaginary part of > z(x,b) evaluates to zero during the animation.
I don't understand the question. Are you saying for the commands sage: z = var("z") sage: z = lambda a,b: e^(I*b + a) sage: show(animate([parametric_plot((real(z(x,b)), imag(z(x,b))), 0, 1) for b in srange(pi/6, 2*pi/6, pi/24)])) you have a problem? What is it exactly? > > And so, perhaps, this is related to Ticket #2410. On the other hand, > it could just be some misunderstanding on my part. In any event, if > anyone can shed any light on this I'd appreciate it. > > As long as I'm here, a 2nd question. Using the command line interface, > is there any way I can spawn more than one window to render different > plots in them at the same time? (Of, if Ticket #2380 is likely to be > worked on in the near future, that would be even better.) Or, if > there is some other way to get multiple plots (from the command line) Sorry but I don't understand this question either. Do you want something like this:? sage: P = plot(sin(x),x,0,1) sage: Q = plot(cos(x),x,0,1) sage: show(P+Q) > > Thanks! > > -Mike > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---