Python Forum

Full Version: periodically plotting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I want to arrange the limits of axis periodically while plotting. I mean,
I want to set limits as[-pi,pi] but when the curve comes to 3pi/2, it should be shown on the -pi/2.
How can I do that? Thank you.
Can you explain this a bit more? Why do you want to do that? What does the function you're plotting look like (as in, mathematically)?
You multiply all data after 3pi/2 times 2.

You could split data into two series; one that ends at 3pi/2 and a second that starts at 3pi/2. The two series could be plotted using different scales.