Have huge prob how to move in Canvas
<p>I have a Android program which you type in equation and them program display you in "new"  layout a graph, its like coordinate system.You have function line, x line, y line... like school basic, you know, easy one.
But if your equation numbers are to hight like: "x*x*40" your graph line is to big to be on display. So here i need yur help.
In android you can move picture up, down, left, right, zoom,... and i what to do same with a graph.I found a tutorails like this one:http://obviam.net/index.php/displaying-graphics-with-android/
,but this contains picture and i dont have picture!I have no picture or what so ever. Program works in Canvas and draw lines with command like this:"g.drawLine(x1, y1, x2, y2, color);" and the and it looks somethink like this in full screen:</p>

<p><a href="http://grockit.com/blog/collegeprep/files/2009/12/14.JPG" rel="nofollow">http://grockit.com/blog/collegeprep/files/2009/12/14.JPG</a></p>

<p>So here is problem how to move like picture but its not a picture. In a lot of examples you must have a picture like R.drawable.image, but here are just calculated lines.
I have one idea how to do it, but its probably stupid:
-if you made a graph bigger than your screen (much bigger) and than do a screenshot, save like picture and than move like picture as in example</p>

<p>(if you need more explanation i can do it) sry if my English was bad :(</p>

<p>Thank you</p>
