real time plotting based on Arduino's Analogue Pins & Axes Transformation of graph in Processing

edited May 2014 in Arduino

Hello, I want to ask how to plot a real time graph based on Arduino's Analogue Pins? For example, when I change the potentiometer's value that connected to the Arduino Mega 2560 Board, then Processing should show real time plotting based on the value of potentiometer that I changed. How to do this operation in Processing software?

Besides, another question is how to perform axes transformation for the graph in processing software where rotate x and y axis respectively with different angles such as 45 degree with respect to reference axis in order to plot the curve fit // graph in different rotation of axes (x and y axis). The figure of axes transformation as shown in below.

axes transformation Figure 1: Axes Transformation

"Sorry that the picture is not very clear"

Thanks you very much and appreciate for helping.

Sign In or Register to comment.