Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
periodically plotting
#1
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.
Reply
#2
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)?
Reply
#3
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.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020