Arduino graph

I am new with Arduino. was wondering if there is a way in which I can make the graph code so that it can show in a x y plotter
thanks

Using what, Matlab or a TFT display?

It surely can't be that hard to do. I imagine there are two approaches.

  1. If the plotter runs HP/GL, have Arduino feed HP/GL via hardware serial. All you need do is convert your data to x,y coordinates. This may well be just sensor output to Y with the x likely to be just a constant time interval.

  2. Have Arduino address the stepper motors directly, for which there is plenty of information round here, and also address the pen up/down solenoid directly.