Hello,
I'm trying to recreate a plot that I did in Maple
P := (x, y) -> WeierstrassP(x + y*I, 1, 0);
PP := (x, y) -> WeierstrassPPrime(x + y*I, 1, 0);
IR := (theta, z) -> cos(theta)*Re(z) + sin(theta)*Im(z);
Gr1 := theta -> [[Re(P(x, y)), Im(P(x, y)), 0.3*IR(theta, PP(x, y))], x =
0.001 .. 3.74,
Setting xmin/xmax for parametric_plot doesn't seem to do anything, but
ymin/ymax work as expected. What am I doing wrong?
t = var('t')
parametric_plot( (cos(t), sin(t)), (t, 0, 2*pi), xmin=-2, xmax=2, ymin=-2,
ymax=2)
--
You received this message because you are subscribed to the Google Groups
Hello folks !
Look at this :
> var('a')
> f = Piecewise([[(0, 1), a], [(1, 2), 2*a]])
> g = Piecewise([[(0, 1), 3*a], [(1, 2), 4*a]])
> parametric_plot((f, g), (0, 2))
I get the following error message :
< Traceback (click to the left of this block for traceback)
<. ..
< AttributeError: Piecewi
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 +