Changeset 61 for trunk/src/plot_field.m
- Timestamp:
- Mar 24, 2010, 12:51:51 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plot_field.m
r55 r61 121 121 if ishandle(haxes) 122 122 if isequal(get(haxes,'Type'),'axes') 123 % hfig=get(haxes,'Parent');124 123 axes(haxes) 125 124 testnewfig=0; … … 204 203 msgbox_uvmat('ERROR','volume plot not implemented yet') 205 204 return 206 %plot_volume(haxes,Data,PlotParam)% A FAIRE207 %PlotType='volume';208 205 else 209 206 testnbdim=0; … … 309 306 function [AxeData,haxes]=plot_profile(data,CellVarIndex,VarType,haxes,PlotParam) 310 307 %----------------------------------------------------------- 311 axes(haxes)308 %axes(haxes) 312 309 hfig=get(haxes,'parent'); 313 310 AxeData=data; … … 316 313 if isfield(PlotParam,'NextPlot') 317 314 set(haxes,'NextPlot',PlotParam.NextPlot) 315 end 316 % adjust the size of the plot to include the whole field, except if KeepLim=1 317 if isfield(PlotParam,'FixedLimits') && isequal(PlotParam.FixedLimits,1) %adjust the graph limits* 318 set(haxes,'XLimMode', 'manual') 319 set(haxes,'YLimMode', 'manual') 320 else 321 set(haxes,'XLimMode', 'auto') 322 set(haxes,'YLimMode', 'auto') 318 323 end 319 324 legend_str={}; … … 372 377 charplot_0='''-'''; 373 378 end 374 % if testcoordvar==0375 % coord_x{icell}=[1:data.DimValue(DimIndices(1))];%abscissa by default if no coordinate variable376 % % charplot_0='''-''';377 % end378 379 if isfield(data,'VarAttribute') 379 380 VarAttribute=data.VarAttribute; … … 415 416 if ~isequal(plotstr,'plot(') 416 417 plotstr(end)=')'; 417 %execute plot (instruction plotstr) 418 %execute plot (instruction plotstr) 418 419 eval(plotstr) 419 420 %%%%%
Note: See TracChangeset
for help on using the changeset viewer.