Matlab GUI Scrollbar Available -


does know if can make horizontal , vertical scroll bar in matlab gui (not list box)? depending on resolution of computer may or may not show of figure need able scroll (horizontally in case). how that?

this create figure horizontal scrollbar:

figure plot(1:3); b = uicontrol('parent',gcf,...     'style','slider',...     'units','normalize',...     'position',[0,0,1,0.05],...     'min',0, 'max',1,...     'value', 0); 

however, if you, rather make sure figure fits screen , allow user zoom. having graph larger screensize deprives user observing entire graph @ once.

you a) let matlab choose default figure size of figure. user can fullscreen if desired, or b)

screensize = get(groot,'screensize'); figure('position',screensize) 

i hope helps.


Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -