title: CorePlot: Updating X Axis range in real time plotting
body: <p>I've check out most of the questions that seemed the most relevant but none of them really touched on what I'm having a bit of trouble with at the moment. My problem is that, while I know that I need to update plotSpace.xRange no matter how I try to update it, either nothing happens, or I get a crash.</p>
  
  <p>What I'm currently doing is I have 2 global variables(xMinVal, xMaxVal) declared in my RealTimeScatterPlot.m file, and those are what I'm using for my plotSpace.xRange calculation upon plot initialization. Then, my viewcontroller that is hosting the plot view contains a function that generates and plots a random point every second. Inside this function I track to see if I have more than 25(my default x axis range is from 0 to 50 for the moment) points, and if I do, I attempt to increment my global values in RealTimeScatterPlot.m by one, which should in theory shift the view of my graph by 1. The first incrementation happens, though the view does not shift, nor am I then able to increment again as the values just remain the same. If seeing code would help let me know and I'll edit it in, but its all very straightforward/generic. I'm thinking that instead of a coding issue this is probably just not the way I'm supposed to be implementing this.</p>
  
  <p>Any insight would be very much appreciated!</p>