Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can I use patch for arguments those are not x and y coordinates?

조회 수: 1 (최근 30일)
Uttam Padmanaban
Uttam Padmanaban 2019년 10월 15일
마감: MATLAB Answer Bot 2021년 8월 20일
I have the x and y coordiantes of a certain geometry saved. I also have accompanying properties stored at the same indices as that of my x and y co-ordinates. For example - say I have a region where I need to find my flow properties such as density,pressure, temperature and so on. I have 2 matrices that have my x coridnate and y coordinate values stored separately and also have 3 matrices that have my flow properties stored.
I want to plot this such that my patch takes input as the flow properties because i want the colorbar to depict the variation of color with the flow property at the specified x and y locations. Patch function colors a region based on x and y coordiantes but I need a function/method to color a region based on the intensity of the properties stored at that index. Any suggestions?

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by