Hi,

  I made a simple change in the code but I don't if it is what you expect.
I don't have Mathlab here to compare. Would you like to test it? If so are
you using a pre-compiled binaries or building from sources?

Best,
Scuri


On Fri, Aug 21, 2015 at 9:52 PM, Tao Li <[email protected]> wrote:

> Hi,
>
> I use the following settings to emulate the axis equal in Matlab.
> IupSetAttribute(plot, "AXS_AUTOSCALEEQUAL", "YES");
> IupSetAttribute(plot, "VIEWPORTSQUARE", "YES");
>
>
> It works fine when using the mouse scroll wheel to zoom in and out. But
> when using the left click and drag method,  the axis scale is not equal any
> more. In matlab, using the drag method to zoom in, the scale is also equal.
>
> Thanks.
>
> Best regards
> Tao
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to