Contour plots not showing

3 visualizaciones (últimos 30 días)
CAL
CAL el 16 de Nov. de 2018
Comentada: Wthee el 12 de Oct. de 2020
Hi,
I tried to plot contour plots for temperature, strain, and individual frame but only contour plots for individual frame is showing up. It works when I run it separately. Is there any error with my code for temperature and strain?
Thank you.

Respuesta aceptada

KSSV
KSSV el 16 de Nov. de 2018
I suggest you to use the function tricontour from the file exchange. As your data is scattered data, this is the suggested solution. Download the abive function and follow the below code:
[num,txt,raw] = xlsread('298k_400ms_24e-9_frame 5.xlsx') ;
X = num(:,5) ;
Y = num(:,6) ;
P = num(:,8) ;
Tk = num(:,9) ;
Tc = num(:,10) ;
% plot contours
tricontour(tri,X,Y,P,50)
untitled.bmp
  1 comentario
Wthee
Wthee el 12 de Oct. de 2020
And how does one deal with the output file, C, if you choose to export it? The patches seem to complicate this process.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Contour Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by