Author: tlinnet
Date: Mon Oct 13 18:19:34 2014
New Revision: 26261
URL: http://svn.gna.org/viewcvs/relax?rev=26261&view=rev
Log:
Inserted a z_axis limit for the plotting of 2D surfaces in matplotlib.
Modified:
trunk/pipe_control/opendx.py
Modified: trunk/pipe_control/opendx.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/opendx.py?rev=26261&r1=26260&r2=26261&view=diff
==============================================================================
--- trunk/pipe_control/opendx.py (original)
+++ trunk/pipe_control/opendx.py Mon Oct 13 18:19:34 2014
@@ -651,6 +651,11 @@
' ax.set_ylabel("%s"%y_par)'+"\n",
' ax.set_zlabel("%s"%c_par)'+"\n",
''+"\n",
+ ''+"\n",
+ ' # Set limits'+"\n",
+ ' ax.set_zlim(0, out_val)'+"\n",
+ ''+"\n",
+ ''+"\n",
' # Create figure and plot'+"\n",
' ax = fig.add_subplot(nr_rows, nr_cols, 2)'+"\n",
' fig_imshow = ax.imshow(ci, vmin=map_mask_c_min,
vmax=map_mask_c_max, origin="lower", extent=[map_mask_x_min, map_mask_x_max,
map_mask_y_min, map_mask_y_max])'+"\n",
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits