How can I hide part of the markers behind the x-axis?

1 回表示 (過去 30 日間)
Rudy
Rudy 2015 年 6 月 16 日
回答済み: Walter Roberson 2015 年 6 月 18 日
Hi all,
See the attached image. I do not like it that the markers are on top of the x-axis. Is there a way to put white below the the axis on top of the markers?
Thanks for your help.
Kind regards, Rudy

回答 (2 件)

Eric Lin
Eric Lin 2015 年 6 月 17 日
I assume you are wanting to crop any part of the markers that lie below the X-axis. While there is no built in method to do this, one workaround may be to vary the circle size of the markers such that markers on the X-axis are smaller.
Alternatively, you can manually make patches to represent your data points which will give you total control over their shape.

Walter Roberson
Walter Roberson 2015 年 6 月 18 日
set(gca, 'layer', 'top')

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by