is there a way to plot this kind of functions right?
verbose 0 (4069: plot.py, generate_plot_points) WARNING: When plotting, failed to evaluate function at 74 points. verbose 0 (4069: plot.py, generate_plot_points) Last error message: ''
asked Apr 03 '11Georg Damm
51 ● 4 ● 5
If you only want to get rid of the part where sin(x) is negative you can use
(write this in sage - it has a maxima interface built in).
However, since the values of sqrt(sin(x)) in these places are complex, a possibly better visualization of it is
This is a strip around the range you are interested in. Here is an explanation of the output, from sage manual:
The magnitude of the output is indicated by the brightness (with zero being black and infinity being white) while the argument is represented by the hue (with red being positive real, and increasing through orange, yellow, ... as the argument increases).
This page demonstrates and explains some complex plots.
I think that the current best way to deal with your issue is to know ahead of time what the domain is.
Which isn't ideal, but could be enough for you.
However, I agree that the current behavior looks pretty bad, so Ticket 11123 is now dedicated to this.
As another workaround, you could do
but even that looks not the greatest, and takes forever.
posted Apr 04 '11kcrisman
7427 ● 17 ● 76 ● 166
Asked: Apr 03 '11
Seen: 280 times
Last updated: Apr 04 '11
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.