Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Frustrating problem with Stata 10 graph editor


From   Fred Wolfe <fwolfe@arthritis-research.org>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Frustrating problem with Stata 10 graph editor
Date   Wed, 15 Aug 2007 15:08:21 -0500

Thanks. It's all too late. It's not a big problem to recreate the graph. The purpose of my message was to suggest to Stata Corp that illegal characters not be allowed in the editing process when they will corrupt the file.

Fred


At 02:59 PM 8/15/2007, you wrote:

.gph files can not be edited with a text editor because they are
binary files (use all 256 possible bytes), while a text editor like
notepad.exe will be unable to show/save most of them (safe codes would
be 32 to 127, not sure about the others)

So you should have edited the file in a HEX editor and _CHANGE_ only
that particular byte to an alphanumeric symbol. If you delete a
symbol, the whole file will be corrupted.

You can try again if you still have a backup copy

Best regards,
Sergiy Radyakin


On 8/15/07, Fred Wolfe <fwolfe@arthritis-research.org> wrote:
> Tom,
>
> Thanks for the suggestion. I edited out the % in a text editor, but I
> guess I made it worse. In any event, my edit didn't work. I won't do it again.
>
> Fred
>
>
> At 02:27 PM 8/15/2007, you wrote:
>
> >Fred,
> >
> >This is just speculation but, in V9.2 graphics, you could edit and
> >resave a saved .gph file in a hex editor provided you did not
> >change the number of characters. Perhaps if you replace the % in
> >..plotregion1.barlabels[8].text.Arrpush 3.8% with another (valid)
> >character, you can recover your graph and continue editing.
> >
> >Tom
> >
> >-----------------------------------
> >Thomas J. Steichen
> >steicht@rjrt.com
> >-----------------------------------
> >
> >-----Original Message-----
> >From: owner-statalist@hsphsun2.harvard.edu
> >[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Fred Wolfe
> >Sent: Wednesday, August 15, 2007 3:00 PM
> >To: statalist@hsphsun2.harvard.edu
> >Subject: st: Frustrating problem with Stata 10 graph editor
> >
> >The graph editor is quite nice and very useful. However, I have run
> >into a problem. I was making an hbar graph, made many modifications,
> >and then modified blabel to add a % sign (what many of us had asked
> >for on the list). The editor accepted the % sign. I saved the graph,
> >but when I tried to use it I received this message:
> >
> >plotregion1.barlabels[8].text invalid name
> >error (198) reading file
> >Error in file, skipping lines:
> > .plotregion1.barlabels[8].text.Arrpush 3.8%
> ><EndItem>
> >graph1.gversion invalid name
> >
> >I am now unable to -use- the graph and all of my time and work is
> >lost. I know better now, but I suggest that the editor not allow
> >entries that will crash the graph.
> >
> >Fred
> >
> >
> >
> >
> >
> >Fred Wolfe
> >National Data Bank for Rheumatic Diseases
> >Wichita, Kansas
> >Tel +1 316 263 2125
> >fwolfe@arthritis-research.org
> >
> >*
> >* For searches and help try:
> >* http://www.stata.com/support/faqs/res/findit.html
> >* http://www.stata.com/support/statalist/faq
> >* http://www.ats.ucla.edu/stat/stata/
> >
> >-----------------------------------------
> >CONFIDENTIALITY NOTE: This e-mail message, including any
> >attachment(s), contains information that may be confidential,
> >protected by the attorney-client or other legal privileges, and/or
> >proprietary non-public information. If you are not an intended
> >recipient of this message or an authorized assistant to an intended
> >recipient, please notify the sender by replying to this message and
> >then delete it from your system. Use, dissemination, distribution,
> >or reproduction of this message and/or any of its attachments (if
> >any) by unintended recipients is not authorized and may be
> >unlawful.
> >
> >*
> >* For searches and help try:
> >* http://www.stata.com/support/faqs/res/findit.html
> >* http://www.stata.com/support/statalist/faq
> >* http://www.ats.ucla.edu/stat/stata/
>
>
> Fred Wolfe
> National Data Bank for Rheumatic Diseases
> Wichita, Kansas
> Tel +1 316 263 2125
> fwolfe@arthritis-research.org
>
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/

Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel +1 316 263 2125
fwolfe@arthritis-research.org

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index