0

最後のボタンだけでなく、ユーザーボタンを押すと、2つの異なるプロットに適用する必要があります。サブプロットからプロットを選択して、それを続行できるコマンドはありますか? GUI があり、GUI には 2 つの 3D プロットが表示されますが、たとえば、これらのプロットのビューを変更するボタンを押す必要がある場合、1 つのプロットのみが視野角を変更し、他のプロットは何もしません。両方のプロットを変更するツールはありますか?

 function byheight_pushbutton_Callback(hObject, eventdata, handles)
    % hObject    handle to byheight_pushbutton (see GCBO)
    % eventdata  reserved - to be defined in a future version of MATLAB
    % handles    structure with handles and user data (see GUIDATA)

    %Display contour plot of the currently selected data
    %select the first plot 
    view(90,0), shading interp
    %select the second plot 
    view(90,0), shading interp
4

1 に答える 1