title: Zooming core plot along Y-axis and X-axis Independently
body: <p>I am Using the below code to scroll my core plot along X-axis Y-axis and zoom. Its working fine. But I when i zoom my core plot, it zooms in both the directions. I want the plot to zoom along X if I pinch along x-direction and zoom Y if pinch along Y-direction. Can someone help me with this please. </p>
  
  <pre><code>-(CGPoint)plotSpace:(CPTPlotSpace *)space willDisplaceBy:(CGPoint)displacement
  {
      return CGPointMake(displacement.x, displacement.y);
  }
  
  -(CPTPlotRange *)plotSpace:(CPTPlotSpace *)space willChangePlotRangeTo:(CPTPlotRange *)newRange forCoordinate:(CPTCoordinate)coordinate
  {                                                                                                                                                                                                                                           
      // Adjust axis to keep them in view at the left and bottom;
      // adjust scale-labels to match the scroll.
  
      CPTXYAxisSet *axisSet = (CPTXYAxisSet *)self.hostView.hostedGraph.axisSet;
      if (coordinate == CPTCoordinateX) {
          axisSet.yAxis.orthogonalCoordinateDecimal = newRange.location;
      }
  
      else {
          axisSet.yAxis.titleLocation = CPTDecimalFromFloat(newRange.locationDouble +                                                  (newRange.lengthDouble / 2.0F));
      }
  
      return newRange;
  }
  </code></pre>