help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: ocatve3.8.1 crashing while saving plot


From: Helios de Rosario
Subject: Re: Fwd: ocatve3.8.1 crashing while saving plot
Date: Thu, 03 Jul 2014 12:48:59 +0200

>>> El día 03/07/2014 a las 12:30, Raghu Charan A <address@hidden>
escribió:
> Thanks,
> 
> the problem is that i used
>>>view(angle, azimuth)     %so the figure has been freezed.
> 
> 
> regarding saving the graph i think the only way is to rotate the
figure to
> get the desired view point and then save the 2d image as .eps file
and then
> how to open these .eps files?

EPS files can be seen in many ways. Try GSView, import it into
Inkscape, or (depending if it contains a preview), even insert it as an
image in a document of your word processor.

But you cannot change figure properties (rotate, etc.) from EPS files
in Octave.

Functions hdl2struct (to convert the contents of the figure into a
struct variable in the workspace), and struct2hdl (the opposite) might
help.

Try:
# Do whatever you need to see the plot you want, in the current figure
figdata = hdl2struct(gcf);
save figdata.mat figdata
# Close Octave

# Open a new session of Octave
load figdata.mat
struct2hdl(figdata)
# Now you should be able to see and edit your figure again

These functions are rather new in Octave I think. A very welcome
feature!

Helios


SABEMOS QUÉ HICIMOS EN 2013
365 días de Innovación
ANUARIO DE BIOMECÁNICA
http://www.ibv.org/anuario2013
______________________________

INSTITUTO DE BIOMECÁNICA DE VALENCIA
Universidad Politécnica de Valencia • Edificio 9C
Camino de Vera s/n • 46022 VALENCIA (ESPAÑA)
Tel. +34 96 387 91 60 • Fax +34 96 387 91 69
www.ibv.org

Antes de imprimir este e-mail piense bien si es necesario hacerlo.
En cumplimiento de la Ley Orgánica 15/1999 reguladora de la Protección
de Datos de Carácter Personal, le informamos de que el presente mensaje
contiene información confidencial, siendo para uso exclusivo del
destinatario arriba indicado. En caso de no ser usted el destinatario
del mismo le informamos que su recepción no le autoriza a su divulgación
o reproducción por cualquier medio, debiendo destruirlo de inmediato,
rogándole lo notifique al remitente.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]