"Warning: Error updating Legend" when opening a saved figure as .fig
    4 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Alexandre LEGAY
 il 3 Feb 2020
  
    
    
    
    
    Commentato: Alexandre LEGAY
 il 7 Feb 2020
            Hello !
My problem is the following :
- I have saved many figures as ".fig" from a computer to which I can't access anymore.
- When I wan't to open these figures from my own computer (Matlab R2018a), I obtain the following error : "Warning: Error updating Legend. Reference to non-existent field 'ParentPositionCachePoints'." Concretely, I obtain :
 instead of :
instead of : 
- If I try to save a figure as a ".fig" and open it in Matlab, I don't have this message and I don't have any problem with the legend.
- I know that all these ".fig" don't have any problem as I created them one month ago only and opened them a lot of time from my former computer.
So, do you have an idea ? Here is one of these figures as a ".fig", can you try to open it and tell me if you have the same issue ? 
I thank you in advance, 
Alexandre 
0 Commenti
Risposta accettata
  Nikhil Sonavane
    
 il 6 Feb 2020
        Even I could reproduce similar issue in MATLAB 2018a but it worked fine for later versions of MATLAB. I verified it for MATLAB 2019a and MATLAB 2019b. In your case upgrading may help.
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Legend in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

