[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FW: removing text from graph
From: |
ahowe42 |
Subject: |
Re: FW: removing text from graph |
Date: |
Mon, 26 Mar 2012 23:33:12 -0700 (PDT) |
If you don't have the handle, and you ultimately want the image without text
as an eps file (I guess you could save as eps, then convert to something
else with GIMP), it's easy. Go ahead and save the image:
print(figure_handle,[filename,'.eps'],'-deps','-color');
then open the eps file in a text editor and find the text and remove it and
save. For example, I saved a plot generated with this on it:
title('JAH-1024'),text(0,0,'JAH-1227')
in the eps file I see and remove
[ [({}) 200.0 0.0 true true 0 (JAH-1024)]
] -66.7 MCshow
and
[ [({}) 200.0 0.0 true true 0 (JAH-1227)]
] -66.7 MLshow
The results (as far as I can tell) is an identical image with the text
removed.
I hope this helps.
Andrew
--
View this message in context:
http://octave.1599824.n4.nabble.com/FW-removing-text-from-graph-tp4507930p4508034.html
Sent from the Octave - General mailing list archive at Nabble.com.