Page 1 of 1
how to calculate X and Y axis
Posted: Sat Jul 15, 2023 6:04 am
by sandokan
just I need an automatic X and Y axis calculation algorithm that I want to use for my ZX Spectrum. Any help?
Re: how to calculate X and Y axis
Posted: Sat Jul 15, 2023 9:17 pm
by BigBlue
Calculating the X and Y axis is easy. You need to collect the data and start the calculation from the collected data. See the attached algorithm.
- Calculating the X and Y axis
- axis_drw.jpg (37.49 KiB) Viewed 3887 times
Re: how to calculate X and Y axis
Posted: Mon Jul 17, 2023 6:10 am
by Iris
don't forget axis positioning. it is common to have the y-axis on the left and the x-axis on the bottom. However, this only applies if the data is in the 1st quadrant. For example, if the data is in the 3rd quadrant (X<0 and Y<0), then the Y-axis should be on the right side and the X-axis should be on top.
- graph quadrants and axis
- graph.jpg (26.12 KiB) Viewed 3879 times
Re: how to calculate X and Y axis
Posted: Thu Feb 01, 2024 9:24 am
by Jeremy
I did a software for 4D display simulating HP plotter. It creates an X and Y axis from data set.
- Harlequin is HP plotter simulator
- 4Dgraph.jpg (62.13 KiB) Viewed 3089 times