diff src/graphics.h.in @ 12441:b932ae4381da

improvements in synchronization of axes position and outerposition
author Konstantinos Poulios <logari81@googlemail.com>
date Sun, 13 Feb 2011 17:44:21 +0100
parents 2ed62b9f949e
children 24b38afd6a45
line wrap: on
line diff
--- a/src/graphics.h.in	Sun Feb 13 15:11:56 2011 +0100
+++ b/src/graphics.h.in	Sun Feb 13 17:44:21 2011 +0100
@@ -3083,7 +3083,7 @@
       {
         if (units_is ("normalized"))
           {
-            update_transform ();
+            sync_positions ();
             base_properties::update_boundingbox ();
           }
       }
@@ -3307,10 +3307,10 @@
     void update_zscale (void) { sz = get_zscale (); }
 
     void update_view (void) { sync_positions (); }
-    void update_dataaspectratio (void) { update_transform (); }
-    void update_dataaspectratiomode (void) { update_transform (); }
-    void update_plotboxaspectratio (void) { update_transform (); }
-    void update_plotboxaspectratiomode (void) { update_transform (); }
+    void update_dataaspectratio (void) { sync_positions (); }
+    void update_dataaspectratiomode (void) { sync_positions (); }
+    void update_plotboxaspectratio (void) { sync_positions (); }
+    void update_plotboxaspectratiomode (void) { sync_positions (); }
 
     void update_layer (void) { update_axes_layout (); }
     void update_yaxislocation (void) { update_axes_layout (); }