periodically plotting - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: periodically plotting (/thread-28400.html) |
periodically plotting - grknkilicaslan - Jul-17-2020 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. RE: periodically plotting - ndc85430 - Jul-17-2020 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)? RE: periodically plotting - deanhystad - Jul-18-2020 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. |