I am using the HARDCOPY function to capture the cdata values which is then converted to a frame using the IM2FRAME function. I would like to be able to increase the resolution of the frame captured.
hfig = figure(1);surf(peaks);cdata = hardcopy(hfig, '-Dopengl', '-r0');frame = im2frame(cdata);
Best Answer