Hi everybody; I have plotted a matrix with sea surface temperature's correlation with another variable, the size is (360x180x12); using to plot :(adsbygoogle = window.adsbygoogle || []).push({});

figure

for i=1:12

subplot(4,3,i);imagescnan(loni,lati,squeeze(double(r4_sat(:,:,i)))'),colorbar;

end

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.

figure

for i=1:12

subplot(4,3,i);imagescnan(loni,lati,squeeze(double(r4_sat(:,:,i)))'),colorbar;

hold on

subplot(4,3,i); quiver(loni,lati, r4_sat_sign(:,:,i), r4_sat_sign(:,:,i));

end

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.

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Question about representation of data in Matlab

Have something to add?

Draft saved
Draft deleted

Loading...

Similar Threads for Question representation data |
---|

C/++/# Question about running "executables" without source code |

Big-O Notation Question |

C/++/# Question about input format file (for creating a net) |

Latex article template question |

C/++/# Question about a specific class method in C++ |

**Physics Forums | Science Articles, Homework Help, Discussion**