I have a MATLAB figure that has 3 subplots in it, each subplot has around 45000 points in a scatterplot. Since most of the points cluster around the origin, I tried using cleanfigure from matlab2tikz; however, the file does not reduce in size. I don't know whether the data is not working with the function or I'm not using the function properly. I first plot the figure, then use cleanfigure('targetResolution', [100 100]) (I've use other combinations as PPI argument like 300; 200; [300 300]; [150 150]; etc.) and, last, I use matlab2tikz('scatter0.tex');. I tried to upload the file in case it was necessary but it's too big.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.