User Tools

Site Tools


internal:administration:idl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
internal:administration:idl [2026/03/19 20:50] – [contour] janinternal:administration:idl [2026/03/19 20:55] (current) – [contour] jan
Line 3093: Line 3093:
 === line patterns === === line patterns ===
  
-contour provides hatch patterns - but note: the first fill with a solid color, i.e. the pattern is not transparent.+contour can draw hatch patterns - but note: the pattern is not transparent.
  
   contour, z, x, y, $   contour, z, x, y, $
     levels = levels, $     levels = levels, $
     c_orientation = [ 0 , 22, 45, 90, ... ] , $ ; orientation of the lines in degrees     c_orientation = [ 0 , 22, 45, 90, ... ] , $ ; orientation of the lines in degrees
-    c_spacing = 0.5 ; spacing between lines in cm+    c_spacing = [ 1, 0.5, 0.25, ... ] ; spacing between lines in cm
          
  
 === Path of contour lines === === Path of contour lines ===
  
-contour provide the pathes of the contour lines:+contour can provide the pathes of the contour lines:
  
   contour, z, x, y, $   contour, z, x, y, $
Line 3111: Line 3111:
     /path_data_coords, $ ; want to have data coordinates in data_xy instead of normalized coo's.     /path_data_coords, $ ; want to have data coordinates in data_xy instead of normalized coo's.
     /path_double, $ ; you need double if eg x is time as julian day     /path_double, $ ; you need double if eg x is time as julian day
-    /overplot ; avoid contour to rescale the axes - if you alread had a plot or contour plot you want to reuse+    /overplot ; avoid contour to rescale the axes - if you already had a plot or contour plot you want to reuse
  
-path_info is an array of CONTOUR_PATH_STRUCTURE. The number of elelemtns gives the numbefr of sub pathes. +path_info is an array of CONTOUR_PATH_STRUCTURE. The number of elelemtns gives the number of sub pathes. 
-Elements offset and N give the starting index and length of every isoline in path_xy.+Elements %%offset%% and %%N%% give the starting index and length of every isoline in path_xy.
  
 You can then use the pathes in poly_fill to do transparent hatch patterns:  You can then use the pathes in poly_fill to do transparent hatch patterns: 
Line 3129: Line 3129:
 === color bar === === color bar ===
  
-You can use contour also to make a **color bar**:+You may want to have a color bar setting the colorshading in relation to values. 
 +You can use contour to make a **color bar**:
  
 A **horizontal** color bar at the bottom A **horizontal** color bar at the bottom
internal/administration/idl.txt · Last modified: by jan