How can I create a circular coloured contour plot

조회 수: 3 (최근 30일)
Jackson
Jackson 2014년 3월 29일
댓글: Image Analyst 2014년 3월 29일
Hello everyone,
For a practical I am required to create a circular contour plot representing heat, firstly I'll explain the practical.
We heated a circular cast iron BBQ and recorded the temperature at 16 locations on the BBQ every 3 minutes for 30 minutes.
I now need to create a contour plot for each set of measurements taken each 3 minutes. The contour plot must be circular like the BBQ and show the heat distribution of the BBQ, I'm not excellent on Matlab so any help would be greatly appreciated, thanks in advance!
Jackson
  댓글 수: 1
Image Analyst
Image Analyst 2014년 3월 29일
Please attach your data file and the code to read it into an array in MATLAB.

댓글을 달려면 로그인하십시오.

답변 (1개)

Christopher Pedersen
Christopher Pedersen 2014년 3월 29일
The simplest way is probably to create a conventional (square) interpolation of your datapoints, then set any data outside the circle area to NaN.
  댓글 수: 1
Jackson
Jackson 2014년 3월 29일
Hi thanks for the response, I haven't had any experience with contours on Matlab, if at all possible could you assist me in the code required to perform this.
For example the first set of data includes:
41, 128.6, 74.9, 157.4
151.4, 45, 129.3, 83
173, 55, 140, 190
179, 67, 169, 107
Kind Regards,
Jackson

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by