ive tried to graph an x and y vector but all i get is something wrong i know computers dont use Cartesian graph instead an x and y way of putting things on the screen. what i like to know is how do i make so my program plugs in the right
x and y to form a graph graphing them correctly on the screen here is the code i have so far. also im new to computer programming and dont know how to give my program correct variables names so if you see a few naming mistakes dont worry i kno i cant name things properly so bear with thanks. heres the code
size(200,200);
for(int x = 20; x <= 180; x += 20) { line(x,20,x ,180); }
for(int x = 20; x <= 180; x += 20) { line(20,x,180,x); }