could not create JOGL render
    25 views (last 30 days)
  
       Show older comments
    
I plot a function in matlab, there is no function curve except for a blank figure.Sometime there is a error printed in the command window "****could not create JOGL render---use painter How could i do when i use the default plot render which is OpenGL in matlab? Thank you
0 Comments
Answers (5)
  Mike Garrity
    
 on 4 Apr 2016
        You can set the default renderer like this:
set(groot,'DefaultFigureRenderer','painters')
But I thought that error message was actually this:
Couldn't create JOGL canvas--using painters
And that it automatically switched to painters for you when you hit it.
Do you know why you can't get an OpenGL context? What does
opengl info
say?
0 Comments
  Dehua Kang
 on 5 Apr 2016
        
      Edited: Walter Roberson
      
      
 on 8 Apr 2016
  
      
      1 Comment
  Walter Roberson
      
      
 on 8 Apr 2016
				
  Dehua Kang
 on 8 Apr 2016
        
      Edited: Walter Roberson
      
      
 on 8 Apr 2016
  
      
      2 Comments
  Walter Roberson
      
      
 on 8 Apr 2016
				Which MATLAB version are you using? Are you using R2016a with an NVIDIA graphics card?
  Mike Garrity
    
 on 8 Apr 2016
				No, the opengl info says he's got an Intel 6100. I think that means it's a "MacBook Pro (Retina, 13-inch, Early 2015)".
See Also
Categories
				Find more on Graphics Performance in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

