Changeset 748 for trunk/src/view_field.m


Ignore:
Timestamp:
Apr 23, 2014, 4:57:58 PM (10 years ago)
Author:
sommeria
Message:

update for 3D plots, panel Coordiantes introduces, while coordiantes now called Axes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/view_field.m

    r726 r748  
    7979if exist('Field','var')
    8080    [PlotType,PlotParamOut]= plot_field(Field,handles.PlotAxes);%,PlotParam,KeepLim,PosColorbar)
    81     set(handles.Coordinates,'Visible','on')
     81    set(handles.Axes,'Visible','on')
    8282    if isfield(PlotParamOut,'Vectors')
    8383        set(handles.Vectors,'Visible','on')
     
    138138set(handles.CheckHold,'Position',pos_CheckHold)
    139139
    140 %% reset position of Coordinates
    141 pos_2=get(handles.Coordinates,'Position');% [lower x lower y width height] for frame 'Coordinates'
     140%% reset position of Axes
     141pos_2=get(handles.Axes,'Position');% [lower x lower y width height] for frame 'Coordinates'
    142142pos_2(1)=size_fig(3)-pos_2(3);       % set 'Coordinates' to the right of the fig
    143143pos_2(2)=pos_CheckHold(2)-pos_2(4);          % set 'Coordinates' to the lower edge of text display, allowing a margin for CheckHold
    144 set(handles.Coordinates,'Position',pos_2)
     144set(handles.Axes,'Position',pos_2)
    145145
    146146%% reset position of  Scalar
Note: See TracChangeset for help on using the changeset viewer.