There is a view and if you draw a graph on it, then Y starts from the top, how to make it be like Cartesian coordinate system?

    2 answers 2

     view.setRotationX(180); 

      for 0 take Y = view.getHeight() , then Y decrease

      • This is understandable, and there is a difficulty: if we assume a height of view 200 px and draw a line to 120 px, thus it turns out that if something is long (200 - 120) 80, if you take away, you need 120. - Alexbelk
      • If you only do this: 200 - (200 -120), then it turns out, you need to test on the piece of iron !!! - Alexbelk