I am facing a problem in matlab because I am trying to scatter3 plot a great amount of figures. So, I decided to give a try via a unix terminal in a cluster instead of a small computer.
However, if I try
matlab -r -nodesktop "instructions;" &
in which the script instructions.m looks like this:
print ('-dpng', 'name0.png')
print ('-dpng', 'name1.png')
print ('-dpng', 'name2.png')
etc up to 10000
Then, the png are never created because the print function takes a great deal of time making it unefficient.
I have read to try hgsave or saveas but that didn't work either.
I know that if I ssh log in with x11 active then it works but I need to do it without the x11 active.
Could someone please bring me some light in this?
Thank you in advance.