Heat Map from ribbion

2 ビュー (過去 30 日間)
Pruthvi Acharya
Pruthvi Acharya 2019 年 1 月 11 日
回答済み: Jacob Mathew 2025 年 5 月 7 日
I want to project a 2d line into 3d sapce. I have used ribbon(x,y) to get the 3d projection but. But I want to generate a heat map of that 3d figure.
a =field.x ; % x values
b = field.z_m; %y values
ribbon(a,b)
Is it possible to generate a heat map using ribbon. If not, do you guys have a way to create a 3d surface from a 2d line and get the heat map?

回答 (1 件)

Jacob Mathew
Jacob Mathew 2025 年 5 月 7 日
Hey Pruthvi,
The following documentation goes into details regarding the ribbon function, spedifically on how to modify its colormap :
You can also play around with it by launching the example from the MATLAB Command Line using the command below:
openExample('graphics/SpecifyRibbonPlotColormapExample')

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by