Why does my text rotate in the opposite direction after I increased my java heap space memory using the JAVA.OPTS file on a MAC ?
Show older comments
I increased my java heap space memory to more than the value allowed by the slider in the Preferences menu for java heap space with the -Xms1000m command in the JAVA.OPTS file.
I have also placed this file in the MATLABROOT folder as suggested by the solution 1-18I2C.
This command did increase my memory to the desired level which I checked using the command:
java.lang.Runtime.getRuntime.maxMemory
Now, I notice that some text that I have on my plots are rotated the wrong way.
For example the code:
plot(1:10,1:10)
text(2,2,'aab','rotation',90)
The expected output should be:

But after adding the JAVA.OPTS file I now am witnessing:

Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown 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!