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

Question about representation of data in Matlab

  1. May 16, 2017 #1
    Hi everybody; I have plotted a matrix with sea surface temperature's correlation with another variable, the size is (360x180x12); using to plot :

    for i=1:12

    Now, I want to plot over it another matrix of the same size which contains the same data but only when it is significative; I think the comand quiver would be suitable for this, but when I try to use it, there is an error.

    for i=1:12
    hold on
    subplot(4,3,i); quiver(loni,lati, r4_sat_sign(:,:,i), r4_sat_sign(:,:,i));

    The error comes from the fact that I need to have the same size for all four variables, but I don't know how to manage it.

    Can someone please tell me how to properly use quiver here or sugest an alternative?
    Thanks for reading.
  2. jcsd
  3. May 16, 2017 #2


    Staff: Mentor

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted

Similar Discussions: Question about representation of data in Matlab
  1. Question about Matlab (Replies: 2)