필터 지우기
필터 지우기

change background color in parallelplot

조회 수: 2 (최근 30일)
pawell t
pawell t 2023년 4월 13일
댓글: pawell t 2023년 4월 21일
Hi. currently using paralleplot. matlab R2022b.
Didn't find a way to make background color black. By default it's white and not very suitable in my case (lots of lines, so i use line trasperancy). Any suggestions?
thanks

채택된 답변

Luca Ferro
Luca Ferro 2023년 4월 13일
I don't think it is possible. I tried to look into all the properties of a parallelplot figure (and more in general of a plot figure) using the commands:
%use only after plotting
inspect(gca) %for axis proeperties
inspect(gcf) %for figure properties
but coulnd't find any that changes the plot area background.
Closest i got was to change the figure background with
set(gcf, 'color', [1 1 0]) %yellow
but the plotting area is still white.
  댓글 수: 3
Luca Ferro
Luca Ferro 2023년 4월 17일
편집: Luca Ferro 2023년 4월 17일
it should be better to post them as separate questions so that you can then accept the answers and also they would show in the questions archive.
Anyways:
Check this for the size: TickSize
For the labels there is this function: xticklabels() and of course yticklabels()
For coloring axes:
set(gca,'XColor','g','YColor','g'); %g is for green
pawell t
pawell t 2023년 4월 21일
thnx!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by