diff src/graphics.cc @ 9403:4af6e29449c1

[mq]: graphics_text_engine
author Michael Goffioul <michael.goffioul@gmail.com>
date Fri, 26 Jun 2009 21:12:09 +0100
parents 17af7cce7d1b
children d8d410b08228
line wrap: on
line diff
--- a/src/graphics.cc	Fri Jun 26 20:49:41 2009 +0100
+++ b/src/graphics.cc	Fri Jun 26 21:12:09 2009 +0100
@@ -2389,6 +2389,10 @@
   sy = "linear";
   sz = "linear";
 
+  calc_ticklabels (xtick, xticklabel, xscale.is ("log"));
+  calc_ticklabels (ytick, yticklabel, yscale.is ("log"));
+  calc_ticklabels (ztick, zticklabel, zscale.is ("log"));
+
   xset (xlabel.handle_value (), "handlevisibility", "off");
   xset (ylabel.handle_value (), "handlevisibility", "off");
   xset (zlabel.handle_value (), "handlevisibility", "off");
@@ -2404,6 +2408,12 @@
   xset (title.handle_value (), "verticalalignment", "bottom");
 
   xset (ylabel.handle_value (), "rotation", 90.0);
+  xset (zlabel.handle_value (), "visible", "off");
+  
+  xset (xlabel.handle_value (), "clipping", "off");
+  xset (ylabel.handle_value (), "clipping", "off");
+  xset (zlabel.handle_value (), "clipping", "off");
+  xset (title.handle_value (), "clipping", "off");
 
   adopt (xlabel.handle_value ());
   adopt (ylabel.handle_value ());
@@ -2622,6 +2632,12 @@
   xset (title.handle_value (), "verticalalignment", "bottom");
 
   xset (ylabel.handle_value (), "rotation", 90.0);
+  xset (zlabel.handle_value (), "visible", "off");
+  
+  xset (xlabel.handle_value (), "clipping", "off");
+  xset (ylabel.handle_value (), "clipping", "off");
+  xset (zlabel.handle_value (), "clipping", "off");
+  xset (title.handle_value (), "clipping", "off");
 
   adopt (xlabel.handle_value ());
   adopt (ylabel.handle_value ());