Hi:
This seems to be a bug in WinBUGS. The doodle shrinks when the .odc
file is reopened. And the Scale Model option in the Doodle menu
cannot expand (input < 100% works; input >100% has no effect). Below
is one suggestion from Samu. Here is another:
1. Open the .odc file. (The doodle will be unreadable.)
2. Select the doodle by doing Cnrtl-Space.
3. Expand the doodle to window width. This is done by dragging the
highlighted right edge of the doodle to the right. What happens
is that the width becomes window width (of course) but the height
shrinks. So for e.g. in an 10x10 window you go from 3x3 in the
top left corner to 0.5x10. However the font is readable now. This
you can see easily if say one node is selected and so its
description appears at the top.
4. Go to Tools . Select Document Size . Select Window Width
and Window Height . You get a readable doodle.
Saving this document is of no use. When you reopen it you have to do
thru the above resizing exercise all over again. But it takes only a
couple of seconds ... .
Regards.
Roy
-----Original Message-----
From: Samu Mäntyniemi [mailto:[log in to unmask]]
Sent: Wednesday, November 15, 2000 3:30 AM
To: Roy, Abhijit
Subject: Re: Saving doodles
Hi Roy !
>This ought to have a simple answer.
I created a doodle in WinBUGS.
>Everything was fine. Then I saved the .odc document. Now when I
>open it in WinBUGS the doodle is so tiny that I can't read anything
>of what I'd typed in the various nodes etc. I tried resizing and
>copying-pasting, but haven't yet succeeded in bringing the doodle
>back to readable size. Please help.
I am afraid that there is no simple answer, it seems that this is one of the
bugs in WinBUGS...
I have had similar problems with large doodles. I am building models with
hundreds of nodes and I have tried many ways to save the doodle so that it
will not resize(shrink) itself when opened. Following procedure has helped
me out from this situation:
1. Create a SMALL doodle, create only few nodes
2. Copy the doodle to the clipboard
3. Create a new document
4. Set the new document size to be fixed and very large.
5. Paste the small doodle to the large document
6. Resize the doodle by dragging from the corner of the selection.
7. Scale the doodle so that nodes and fonts are smaller but still readable.
8. You may need to repeat steps 6 and 7 successively in order to have enough
space to your model.
9. Now start defining your model by drawing nodes etc.
10. When you save and then open this document including the doodle, the
doodle should open at same size.
This is a very frustrating way to avoid the problem, because you can scale
the doodle too much by accident, and then the font size is again too small.
So you may need to do the whole procedure many times until you are
satisfied...
Furthermore, there seems to be a limit in resizing the doodle in large
document. You can not have a doodle which is near the size of the large
document.
If someone sends you a better solution, please inform me !
I really hope that the next version of winbugs fixes this problem also.
Samu
-------------------------------------------------------------
Samu Mäntyniemi
Finnish Game And Fisheries Research Institute
Tutkijantie 2 A
FIN-90570 OULU
FINLAND
+358 205 751 415
[log in to unmask]
-------------------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|