Changeset 24535
- Timestamp:
- 01/31/20 11:48:24 (6 years ago)
- Location:
- issm/trunk-jpl/src/m/plot
- Files:
- 
      - 2 edited
 
 - 
          
  colormaps/paraview.m (modified) (1 diff)
- 
          
  manualcb.m (modified) (4 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      issm/trunk-jpl/src/m/plot/colormaps/paraview.mr24079 r24535 1 function cmap = paraview( m)1 function cmap = paraview(n) 2 2 3 3 J=[... 
- 
      issm/trunk-jpl/src/m/plot/manualcb.mr24067 r24535 1 function manualcb(zmin,zmax,cmap,varargin)1 function h=manualcb(zmin,zmax,cmap,varargin) 2 2 %MANUALCB - custom colorbar 3 3 % … … 12 12 % - 'orientation' : 'vertical' (default) or 'horizontal' 13 13 % - 'title' : colorbar title 14 % - 'xlabel' : colorbar x-label 15 % - 'ylabel' : colorbar y-label 14 16 % - 'tick' : specified values of tick labels 15 17 % - 'ticksep' : spacing between ticks … … 133 135 th=title(getfieldvalue(options,'title'),'FontSize',fontsize,'Color',fontcolor); 134 136 set(th,'Position',[ytick(end)+0.075,-0.3]); 137 elseif getfieldvalue(options,'inverttickposition',0)==1, 138 text(1.9,.7,getfieldvalue(options,'ylabel'),'HorizontalAlignment','right','VerticalAlignment','middle','FontSize',fontsize,'Color',fontcolor,'rotation',90); 135 139 else 136 140 ylabel(getfieldvalue(options,'ylabel'),'FontSize',fontsize,'Color',fontcolor); … … 139 143 140 144 %Back to original axes 145 h=gca; 141 146 if getfieldvalue(options,'showregion',0)==0, 142 147 %Do it this way in order to preserve the figure visibility 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)
