Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab - Plotting graphs for set points in time.

  1. Feb 5, 2009 #1
    Hi Guys,

    I currently have the following plot which plots the height of the fluid surface at each time step in a 3d view and a 2d view. The program runs in time steps of 0.0067 up to 5 seconds. Can anybody tell me how i can just view the plots at certain times such as t=1, t=2 t=3 etc? Thanks. James.

    shading interp
    % axis([0 30 0 10 8.5 11]);
    title(['time = ',num2str(t),' seconds'])
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted