MATLAB Answers

Is it Posible to remove background and box in data tip? The data tip cover my graphic

38 views (last 30 days)
Tian
Tian on 4 Oct 2018
Edited: Tian on 4 Oct 2018
I use the data tip on my plot data, but it cover the graphic. Is there's any way to fix this?
Edited: This is what i mean data tip. I usually call it marker. The "Antena+LPF+Open Stub" box cover my plot data. By remove the background and box atleast i can make it more visible.

Answers (1)

Julian Hapke
Julian Hapke on 4 Oct 2018
set(h, 'BackgroundAlpha', 0)
with h being the handle of the datatip. When you create the DataTip by hand, you don't have the handle for it. You can find it by using
findall(gca)
in Matlab > 2014a the object is called 'PointDataTip'.

Community Treasure Hunt

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

Start Hunting!