Topic: Zoom so that axes are scaled differently but the grid is square

Is is possible to create a zoom feature or plugin that will adjust the window so that the x-axis and y-axis are scaled differently, but the grid-lines would still appear square? As if it were to be done on physical graph paper. For instance, if I wanted to scale my x-axis by 1s, and my y-axis by 2s, but still have the grid-lines square.

Re: Zoom so that axes are scaled differently but the grid is square

Yes, I believe it is possible to make a plugin that can do that. However It should be rather easy to do manually.

1. Select Zoom|Square to scale the axes equally.
2. In the Edit|Axes dialog under y-axis, you can now add *2 to Minimum and Maximum.
3. You may want to change the Tick unit and Grid unit to be twice the value as the x-axis.

This can of course be implemented in a plugin.

Post's attachments

Attachment icon Screen Shot 2017-09-25 at 24.19.35.png 101.09 kb, 2 downloads since 2017-09-24 

Re: Zoom so that axes are scaled differently but the grid is square

Thanks! This is very useful. How do you call the ZoomSquare function in a plugin? I was looking for it in the scripting documentation, and couldn't find it.

Thanks,
Marco

Re: Zoom so that axes are scaled differently but the grid is square

That was a good question. It actually took me some time to figure out. You can use to call Zoom|Square:

Graph.Form1.ZoomSquareAction.Execute()