フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

To get filled curves between y=0 axis and plot using b2r

1 回表示 (過去 30 日間)
Utsav
Utsav 2016 年 2 月 8 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
My code runs: close all; clear all; b = -5 + (5+5)*rand(80,1) a=[1:1:80]; plot(a,b,'k'); colorbar colormap(b2r(-5,5))
This generates the attached plot. I need the plots filled up in accordance to gradient. Any help shall be highly appreciated. Also I shall like to know how can I fill positives with red and negatives with blue.

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by