[Dart-dev] [4412] DART/trunk/diagnostics/matlab/linked_observations.m: The continents are now 'translucent' - should help to not hide the

nancy at ucar.edu nancy at ucar.edu
Fri Jul 2 11:15:05 MDT 2010


Revision: 4412
Author:   thoar
Date:     2010-07-02 11:15:05 -0600 (Fri, 02 Jul 2010)
Log Message:
-----------
The continents are now 'translucent' - should help to not hide the
observations based on drawing order ... The 'region' input variable has
always been used to extract the data of interest, is is now also used
to define the plot boundaries.

Modified Paths:
--------------
    DART/trunk/diagnostics/matlab/linked_observations.m

-------------- next part --------------
Modified: DART/trunk/diagnostics/matlab/linked_observations.m
===================================================================
--- DART/trunk/diagnostics/matlab/linked_observations.m	2010-07-02 17:09:04 UTC (rev 4411)
+++ DART/trunk/diagnostics/matlab/linked_observations.m	2010-07-02 17:15:05 UTC (rev 4412)
@@ -66,6 +66,9 @@
              'YDataSource',ystring, ...
              'ZDataSource',zstring);
 
+axlims = axis;
+axis([ obs.region(1:4) axlims(5) axlims(6)]);
+
 myworldmap(obs);
 
 xlabel(obs.colnames{obs.lonindex});
@@ -307,6 +310,8 @@
     y = get(h_patch(i), 'YData');
     s = size(y);
     set(h_patch(i), 'ZData', zlevel*ones(s),'FaceColor',fcolor);
+    set(h_patch(i),'AlphaDataMapping','none','FaceVertexAlphaData',0.3)
+    set(h_patch(i),'FaceAlpha',0.3)
 end
 
 if (orgholdstate == 0), hold off; end;


More information about the Dart-dev mailing list