Improve a scattering plot: How to make it clearer?

조회 수: 1 (최근 30일)
Wayner Klën
Wayner Klën 2022년 4월 25일
댓글: SrinivasHarsha 2022년 4월 26일
I'm plotting a bifurcation diagram, but I'm getting a non-clear plot. I would like to make smaller markers in this plot to improve visualization, how could I do this? I'm pretty newbie in Matlab, thefore sorry if this question is too obvious. Also, I would like to plot the ticks using LaTeX fonts, is there any way to do this?
My plotting code:
figure(41)
plot(intervala, stablex,'.', 'color', 'k', 'MarkerSize', .5); hold on; axis([0 1.25 -2.5 2.5]); hold off; %axis square;
xlabel('$$a$$');
ylabel('$$X$$');
The produced picture:
Thanks in advance!
  댓글 수: 1
SrinivasHarsha
SrinivasHarsha 2022년 4월 26일
Hi Image Analyst,
we need a help from you
can you send a response to my mail if possible.
we will contact you reg: image processing help
my mail id: srinivas.nato@gmail.com

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

채택된 답변

Star Strider
Star Strider 2022년 4월 25일
The LaTeX tick labels simply require specifying TickLabelInterpreter = 'latex'
xlabel('$$a$$', 'Interpreter','latex');
ylabel('$$X$$', 'Interpreter','latex');
Ax = gca;
Ax.XAxis.TickLabelInterpreter = 'latex';
Ax.YAxis.TickLabelInterpreter = 'latex';
For the markers, see the MarkerSize name-value pair.
.
  댓글 수: 2
Wayner Klën
Wayner Klën 2022년 4월 25일
편집: Wayner Klën 2022년 4월 25일
Thank you for your answer. Is there a specific way to define latex as global interpreter?
Star Strider
Star Strider 2022년 4월 25일
My pleasure!
See Default Property Values then experiment. I am reasonably certain that this is possible, however I have never done it since I have no reason to. Also see Graphics Object Properties for a list of them.

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

추가 답변 (1개)

Image Analyst
Image Analyst 2022년 4월 25일
If youi use the plot tools (above the upper right corner of your plot box) can you zoom in and see the lines clearer? That may be what you have to do.
  댓글 수: 1
SrinivasHarsha
SrinivasHarsha 2022년 4월 26일
Hi Image Analyst,
we need a help from you
can you send a response to my mail if possible.
we will contact you reg: image processing help
my mail id: srinivas.nato@gmail.com

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

카테고리

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by