MATLAB Answers

how can i use slider to plot many data?

1 view (last 30 days)
Moris Bouja
Moris Bouja on 19 Jul 2018
Commented: Geoff Hayes on 26 Jul 2018
i have many data files , i want to plot all data with slider in Gui how to make datanumber as a slider value and plot them?? help please . this is my program in gui
x=mydata{1,datanumber}.data(:,1);
y=mydata{1,datanumber}.data(:,2);
u=mydata{1,datanumber}.data(:,3);
v=mydata{1,datanumber}.data(:,4);
axes(handles.axes1);
%figure()
contourf(x,y,V_mag,50,'linestyle','none');
hold on
quiver(x(1:4:end),y(1:4:end),u(1:4:end),v(1:4:end),2,'color',[0 0 0])
set(gca,'fontsize',14);
  5 Comments
Geoff Hayes
Geoff Hayes on 26 Jul 2018
Moris - you will need to show your code.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!