Representing an area on a different axis.
조회 수: 1 (최근 30일)
이전 댓글 표시
I have an area bounded by a data set in the (-) plane as shown below. Is it mathematically possible to represent this area (blue color) in (-) plane?
clear; clc;
data = [1.0000 0.9000 0.8000 0.7000 0.6000 0.5000 0.4000 0.3000 0.2000 0.1000 0 -0.1000 -0.2000 -0.3000 -0.4000 -0.5000 -0.6000 -0.6000 -0.6000 -0.6000 -0.6000 -0.5000 -0.4000 -0.3000 -0.2000 -0.1000 0 0.1000 0.2000 0.3000 0.4000 0.5000 0.6000 0.7000 0.8000 0.9000 1.0000
-2.1351 -2.1892 -2.2432 -2.2973 -2.3243 -2.3243 -2.3243 -2.3514 -2.2703 -2.2432 -2.2432 -2.2432 -2.2703 -2.2973 -2.2162 -2.1081 -2.0000 -1.0541 0.0270 1.1081 1.3243 2.6486 4.0270 5.2703 6.5676 7.5405 8.2973 9.1081 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000];
x = data(1, :);
y = data(2, :);
figure
fill(x, y, 'b','FaceAlpha',0.5)
xlabel('Q_2/Q_4+1')
ylabel('Q/Q_4+5')
set(gca,'FontName','times','fontsize',14)
댓글 수: 0
답변 (1개)
Image Analyst
2024년 8월 22일
To have different data (like area) on a different/additional axis, see yyaxis
help yyaxis
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!