Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Change in axis limits with transparency despite using opengl software

2 vues (au cours des 30 derniers jours)
Gunnar
Gunnar le 14 Juil 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hi all!
I know this to be a well-known bug in MATLAB, where the axis change when using transparencies. I have already read a few posts explaining the problem, but I still don't seem to get my figure right. Not only do the axis limits change, but so does either the actual data (by shifting) or the tick positions (also by shifting). Please run the example code below to see what I mean. You can see that the tick positions don't really not match the data perfectly.
Thank you kindly for your in advance.
opengl('software')
figure
area(1:10,1:10)
box on
alpha(0.2)
xlim([1 10.001])

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by