フィルターのクリア

Data brush in GUI

2 ビュー (過去 30 日間)
Kim Nguyen
Kim Nguyen 2013 年 1 月 21 日
I want to have the data brush tool that matlab uses in its plot in the gui similar to pan and zoom. i would use the data brush tool to high-light the data and copy the data into an excel. I have many case files and so therefore i would like to graph all of them on the same graphs. the gui has over 1000 scenarios though so i dont know want all of them.
any help would be appreciated, thanks
  2 件のコメント
Kim Nguyen
Kim Nguyen 2013 年 1 月 22 日
another method would be, save the sub plots as .fig so that i can open them and use the data brush tool so if theres a way to save them pelase let me know. i tried usign the saveas function but i think its more complicated to use in a gui as far as structurig the command
Kim Nguyen
Kim Nguyen 2013 年 1 月 23 日
編集済み: Kim Nguyen 2013 年 1 月 23 日
here is a code that i found that saves the entire gui layout... however i only want to save the axes, how would i modify this code so it only saves the axes? this code is palced in my save button call back function
fileName = inputdlg('Please enter the name for your figures');
directoryName = uigetdir('','Please select a folder to save to');
if directoryName == 0 %# User pressed the "Cancel" button...
directoryName = ''; %# ...so choose the empty string for the folder
end
filePath = fullfile(directoryName,fileName{1}); %# Create the file path
extensions = {'fig','bmp'};
for k = 1:length(extensions)
saveas(gcf,filePath,extensions{k}); %# Save the file
set(gcf,'PaperPositionMode','auto');
end

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by