[MATLAB R2020a] My legend doesn't have any lines
3 views (last 30 days)
I've plotted three sets of data. When I use legend, however, the text shows up but there aren't any colors. Does anyone know what's wrong? I'm using MATLAB R2020a.
legend('Two body with J2', 'Two body with J2 and J3', 'Two body with atmospheric drag')
Star Strider on 21 Apr 2020
This appears to be a problem with current AMD graphics card drivers.
The easiest solution seems to be:
See the documentation on opengl for a detailed discussion.
I intend to mention this to AMD, however if you also want to, please do!
Chris Jennings on 7 May 2020
Well, it's a work around not a very good solution because it stops using the graphics card for all opengl commands.
This can result in very slow graphics, e.g. rotating in 3D becomes slow and stutters.
I will be very interested to hear if AMD is going to come out with a driver fix ...