Just wondering what is the normal way to save graphics nowadays.
I just had a look at 'help xsave' to see whether it is deprecated
or whether this is the official way to do it.
This page reads:
"For graphics xsave(file_name,win_num) use preferably
This indication is clearly outdated, since save() now processes
only named variables: expressions
like "scf(win_num)" are no longer accepted.
I agree that the motivation for using xsave() instead of save is
Maybe there were some good reasons to implement a specific
function (or may be not),
but today xsave(filename, idf) appears to be only a shortcut for
idf = findobj("figure_id",idf);
Is it really worth having a specific public function, instead for
instance of opening the overload for save(filemane, figure_handle)
don't get it.
Does it mean that I should better use
"save(file_name,scf(win_num))" for graphics objects?
If it's the case, what is the point of xsave?
I'm a bit lost...
If you do not think it's worth keeping xsave, please do not
hesitate asking on bugzilla for obsoleting it and opening save()
to overloading according to it's 2nd argument.