Apparently, the data tips for not meant for annotation, hence by design
they
are not meant to be saved/printed.
You could try exporting it as an image (jpeg/png/) and then printing..
or create the same information using annotation commands..
On Mon, 11 Feb 2008 13:45:06 -0500, Andrey Kazak <AK@nospam.ru> wrote:
> Hallo!
>
> I made few data tips on my figure using Data Cursor tool. In
> Print Preview Windows they appear, but are not printed by
> printer...
>
> Has anyone had the same problem?
> Any solutions please...
"Ashish Uthama" <ashishu@ece.ubc.ca> wrote in message
<op.t6dqorulxwvkfj@uthamaa.dhcp.mathworks.com>...
> which version are you on?
>
7.5.0 (R2007b)
> Apparently, the data tips for not meant for annotation,
hence by design
> they
> are not meant to be saved/printed.
Is there any way to make them meant to be printed?
>
> You could try exporting it as an image (jpeg/png/) and
then printing..
When I export a figure to tif the datatips are saved in
image file... But I need printing functionality...
> or create the same information using annotation commands..
>
>
> On Mon, 11 Feb 2008 13:45:06 -0500, Andrey Kazak
<AK@nospam.ru> wrote:
>
> > Hallo!
> >
> > I made few data tips on my figure using Data Cursor tool. In
> > Print Preview Windows they appear, but are not printed by
> > printer...
> >
> > Has anyone had the same problem?
> > Any solutions please...
>
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Andrey Kazak wrote:
> Matlab help (section "Data Cursor — Displaying Data Values
> Interactively" contains following text:
>
> ...
> When data cursor mode is enabled, you can:
> ...
> - Print or export the graph with data tip or cursor window
> displayed for annotation purposes.
> ...
>
> But on my system it does not work...
>
> Any ideas?
I believe this is a bug that gets exposed when you go through print
preview, which causes a structure named PrintHeaderHeaderSpec to be
added to the figure's appdata
To work around this, you should remove this piece of appdata before
printing, and print from the command line
hsName = 'PrintHeaderHeaderSpec';
if isappdata(fig, hsName)
rmappdata(fig, hsName);
end
print(fig, ...)
Richard Quist <rquist_nospam@mathworks.com> wrote in message
<fosijl$las$1@fred.mathworks.com>...
>
> I believe this is a bug that gets exposed when you go
through print
> preview, which causes a structure named
PrintHeaderHeaderSpec to be
> added to the figure's appdata
>
> To work around this, you should remove this piece of
appdata before
> printing, and print from the command line
> hsName = 'PrintHeaderHeaderSpec';
> if isappdata(fig, hsName)
> rmappdata(fig, hsName);
> end
> print(fig, ...)
>
>
> I don't see it in the list of bug reports
> (http://www.mathworks.com/support/bugreports/index.html)
though. I'll
> see that it gets added.
>
> --
>
> Richard Quist
> Software Developer
> The MathWorks, Inc.
Can you add this one to Matlab buglist please...
I'll try to use your solution.
"Andrey Kazak" <AK@nospam.ru> wrote in message
<fosqc4$nfp$1@fred.mathworks.com>...
> Richard Quist <rquist_nospam@mathworks.com> wrote in message
> <fosijl$las$1@fred.mathworks.com>...
>
> >
> > I believe this is a bug that gets exposed when you go
> through print
> > preview, which causes a structure named
> PrintHeaderHeaderSpec to be
> > added to the figure's appdata
> >
> > To work around this, you should remove this piece of
> appdata before
> > printing, and print from the command line
> > hsName = 'PrintHeaderHeaderSpec';
> > if isappdata(fig, hsName)
> > rmappdata(fig, hsName);
> > end
> > print(fig, ...)
> >
> >
> > I don't see it in the list of bug reports
> > (http://www.mathworks.com/support/bugreports/index.html)
> though. I'll
> > see that it gets added.
> >
> > --
> >
> > Richard Quist
> > Software Developer
> > The MathWorks, Inc.
>
> Can you add this one to Matlab buglist please...
> I'll try to use your solution.
Richard Quist <rquist_nospam@mathworks.com> wrote in message
<fosijl$las$1@fred.mathworks.com>...
> I believe this is a bug that gets exposed when you go
through print
> preview, which causes a structure named
PrintHeaderHeaderSpec to be
> added to the figure's appdata
>
> To work around this, you should remove this piece of
appdata before
> printing, and print from the command line
> hsName = 'PrintHeaderHeaderSpec';
> if isappdata(fig, hsName)
> rmappdata(fig, hsName);
> end
> print(fig, ...)
>
>
> I don't see it in the list of bug reports
> (http://www.mathworks.com/support/bugreports/index.html)
though. I'll
> see that it gets added.
>
> --
>
> Richard Quist
> Software Developer
> The MathWorks, Inc.
Thank you Richard - your method works perfectly!
I hope this bug will be fixed in new Matlab release...
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Disclaimer prior to use.