From: messi2009 on 11 Jul 2010 05:10 Hi, I have written a Matlab code which takes the data from a huge text file and plots all the parameters with respect to time. I have created an exe file and executed it on the standalone PC. I am able to see all the plots. The runtime compiler is very well installed before executing the file. Same .exe file when I am executing on the server, the plots are blank without any axes. The complete screen is blank with dark color. I am not understanding where the problem is. I am trying to store all the plots in JPEG format. Kindly help me out in printing the plots on Server side.
From: Bruce on 17 Jul 2010 23:30 messi2009 <ncksri(a)yahoo.com> wrote in message <1740879193.11233.1278853852533.JavaMail.root(a)gallium.mathforum.org>... > Hi, > I have written a Matlab code which takes the data from a huge text file and plots all the parameters with respect to time. I have created an exe file and executed it on the standalone PC. I am able to see all the plots. The runtime compiler is very well installed before executing the file. > > Same .exe file when I am executing on the server, the plots are blank without any axes. The complete screen is blank with dark color. I am not understanding where the problem is. I am trying to store all the plots in JPEG format. > > Kindly help me out in printing the plots on Server side. Hello, This is the blank figure window issue and is most likely caused by the OpenGL driver installed on your Server and may have been triggered by the fact that you are trying to plot a lot of information (cf. huge text file) and you don't have sufficient VRAM. MATLAB supports three graphics Renderers: Painters, ZBuffer, and OpenGL and OpenGL is ideal for 3D rendering and complements ZBuffer and Painters. I would strongly recommend having a look at this link: http://www.mathworks.com/support/solutions/en/data/1-18HUR/index.html?product=ML&solution=1-18HUR AND this one... http://www.mathworks.com/support/tech-notes/1200/1201.shtml .... HINT: plse try this cmd at MATLAB prompt: >> opengl info then try this to determine hardware or software OpenGL: x=[0 0 1]; y=[1 2 2]; z=[1 1 1]; hp = patch(x,y,z); colormap(autumn(3)) set(hp,'FaceVertexCData',[1;2;3]) set(hp,'FaceColor','interp','EdgeColor','interp') title('Smooth interpolation using OpenGL') set(gcf,'Renderer','OpenGL') ....the code should generate a orange colored triangle (smoothly interpolated) Other commands (use if required): get(gcf,'Renderer') set(gcf,'Renderer','Zbuffer') ....narrow the problem down with this: opengl neverselect If all this fails to help then you may need MathWorks technical support as well. Good luck! Cheers Bruce
|
Pages: 1 Prev: How can i plot frequency response in Simulink? Next: Window size for fig |