-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zoom rectangle for rectangular diagrams #305
Comments
Also, a vertical/horizontal cursor will be great. |
This feature would also be useful for tuning so you can home into a specific point on the Smith chart. It would be best if the marker font remained the same and didn't zoom with the chart. |
I've had a quick go at implementing this by setting the existing limits via a mouse action. So far, only rectangular diagrams are supported and other plots are undefined. I would like to a bit of refactoring to simplify the implementation of this, in particular to use QTransform to map between various coordinate systems. This is what it looks like: Initial code is here: https://github.com/iwbnwif/qucs_s/tree/graph_limits_by_mouse |
looks amazing! p.s. zoom for other type of diagram in next step |
Thank you. There are two main problems at the moment that I would like to fix before submitting a PR:
As mentioned above, I would like to discuss about refactoring some of the diagram code to make transforms between coordinate systems simpler. This will pave the way for cursors and mouse dragging of markers. Anyway, we can discuss that on a separate issue when the time comes. Unfortunately, I am still a real noob when it comes to git. I hope that the commits are clean, but I have had a bit of trouble merging some recent commits in master to my 'graph_limits_by_mouse' branch :( |
The proposed feature implemented by #485. Closing as completed. It still be unclear how to zoom Smith and Polar charts by mouse selection. |
need to implement separate zoom for two Y-axes |
I am not sure how to do this. I suppose we could use a keyboard key (e.g., Ctrl or Alt) for the selection, but which X-axes value will take priority? |
Why? |
Do you mean scale both axes by the same amount? If so, yes that should be simple to implement. |
I will offer my solution in PR, if you don’t mind |
Of course not! |
please check branch 305-zoom-both-axes
|
Thank you, that looks great! |
Hello!
I would like to see the rectangle selection tool for graphs, because now for transient simulation you have to go to properties of particular graph and set x and y limits manually, it it possible to add this feature in future?
The text was updated successfully, but these errors were encountered: