title: plotting angularly-wrapped data in cartesian space with matplotlib
body: <p>Perhaps I've made the title more complicated than the question, but here goes...!</p>
  
  <p>I have some angular data, contiguous in the x-y plane, that straddle the 360 => 0 degree line - ie, 358,359,0,1,2....</p>
  
  <p>If I were plotting these and setting:</p>
  
  <pre><code> plt.xlim(0,360)
  </code></pre>
  
  <p>I would of course have three dots at the far left of the plot, and two at the far right. You can see this in the (more complicated, and actual) plot here (x-axis limits deliberately reversed):</p>
  
  <p><img src="https://i.stack.imgur.com/9Eg70.png" alt="the angularly-wrapped dataset"></p>
  
  <p>What I'd really like is to have all dots plotted around the same position in the plot window, perhaps towards the centre of the plot. Under this scheme, the x-axis decreases to the left of the 360-0 degree border, and increases to the right. </p>
  
  <p>I don't want to make any translations / shifts to the data itself (it's a large dataset, etc), so I'd be looking to do this with some matplotlib-trickery.</p>
  
  <p>I plan on plotting the datapoints with hexbin, if that makes any difference.</p>
  
  <p>Thanks for looking, and thank you in advance for your help,</p>
  
  <p>Dave</p>