Clear Filters
Clear Filters

Use fill3 with contourf

1 view (last 30 days)
Philip
Philip on 11 Dec 2018
Answered: KSSV on 11 Dec 2018
I have contourf plots of matrices that don't change ( 1333,10) for example that represent rectangula shapes.
However the actual physical dimensions of the rectangles do vary, how do I apply varying shaped ractangles, with the same contourf(Matrix1333by10)
I try defining vertices of a square, but it returns that all vectors must be the same length when I put Matrix1333by10 into (c)
fill(x,y,z,c)
Thanks!

Answers (1)

KSSV
KSSV on 11 Dec 2018
YOu can do interpolation and get them to same size/ dimnesions. More help on showing us the matrix.

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!