필터 지우기
필터 지우기

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