Setting colorbar limit in siteviewer

조회 수: 2 (최근 30일)
Rahul Gulia
Rahul Gulia 2023년 8월 24일
답변: Ramtej 2023년 8월 30일
I explored other Matlab answers too. But could not find anything related to this topic.
I would like to know if I can set the colorbar limits in the Siteviewer.
Here is a reference code of how I am generating it.
test_op_RADP_c3 = readtable("Sim19_train2000_test10000_cell3_az0.csv");
test_op_RADP_c3.cell_id = cell2mat(test_op_RADP_c3.cell_id);
lon_test_RADP_c3 = table2array(test_op_RADP_c3(:,3));
lat_test_RADP_c3 = table2array(test_op_RADP_c3(:,4));
rx_pow_test_RADP_c3 = table2array(test_op_RADP_c3(:,2));
lon = lon_test_RADP_c3;
lat = lat_test_RADP_c3;
tbl_cell_1 = table(lat, lon, rx_pow_test_RADP_c3);
pd_cell_1 = propagationData(tbl_cell_1);
plot(pd_cell_1, "Colormap",jet)
colorbar
clim([-34 41])
I would really appreciate any kind of help or suggestion.
Thank You

답변 (1개)

Ramtej
Ramtej 2023년 8월 30일
Hi Rahul,
I understand that you are trying to set colorbar limit in “siteviewer”. I assume you should have an error when you try to assign a colorbar to a “siteviewer” object handle. This is because “siteviewer” does not have a well-defined axis to plot along when the colorbar is used and this is why it is not supported.
Hope this helps!

카테고리

Help CenterFile Exchange에서 Propagation and Channel Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by