The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 How to preserve attributes of a layer following change in dimensions?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

a_user

USA
0 Posts

Posted - 08/17/1998 :  4:49:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
For example, if I create layers (graphs) of similar size (3 rows x 2 columns)
and characteristics such as font sizes, etc. in a page and later decide that I
would like to reduce the size of the graphs in the lowest rows. I can do this
by selecting the layer formatting and change the layer characteristics. If I
do this, Origin reduces the size of the fonts in this new-sized layer. That
is, I cannot maintain a consistent font size throughout the page. I will have
to tweak around with the font sizes of the smaller layer until all the fonts
"look" the same. In addition to the fonts the size of data markers, any text
within that layer, etc. change too. I am not sure if this is a feature. I
wish there were a way to maintain a constant size of the font regardless of
whether I reduce or increase the size of the layer. Can something be done to
preserve the attributes of the layer regardless of the size change?

I appreciate your responses. Thanks in advance, -Vijay

a_user

USA
0 Posts

Posted - 08/17/1998 :  4:52:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Layer scaling of text and graphic objects

In the LAYER PROPERTIES of every layer (select a layer by clicking the layer
icon, then select Format:Layer from the menu), there is a Scale Elements
section with two options:

Scale With Layer Frame Objects scale proportionally with the Layer
and Fixed Factor Objects display at a fixed proportion of their size
(The actual factor is in the adjacent text box)

By default, Origin plot Templates have 'Scale With Layer Frame' enabled which
will allow you to resize a layer and have objects in that layer resize proportionately.

Incidently, when you resize a layer (or when you Arrange All Layers), Origin
adjusts the proportional factor text to reflect the degree to which a layer
has changed size. Obviously a one dimensional number can not keep perfect
track of two dimensional changes, but the number can be useful.

If you plan to make size adjustments to separate layers on a page and still
wish to have all your text (for example) keep their size, you should pick a
font size, enable the Fixed Factor option and enter an appropriate factor.
The appropriate factor will probably be close to what Origin has set it to,
but you are free to use whatever works for you.

Font Size Factor Equivalent Font Size
11 1 11
11 .5 5.5
22 1 22
22 .5 11

Here is a script that allows you to enable Fixed Factor and set the factor for
all the layers of a Graph window:

doc -e LW {
layer$(page.active).fixed=1;
layer$(page.active).factor=.4;
};

Copy the above script to the Script window (select Window:Script Window from
the menu). With a Graph window the active window, highlight the script in the
Script window and press Enter. Change the .4 in the script to suit your needs.

Go to Top of Page

a_user

USA
0 Posts

Posted - 08/17/1998 :  4:53:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Layer scaling of text and graphic objects

Dear Mr. D'Unger:

Thanks for the help. It helped for what I wanted to do. However, I still
have the problem that if I make such changes, save the file, quit Origin,
and then later return to the same file, the size of ticks revert back to
the default settings. Would you be kind enough to tell me where I can
change this "feature". I could not find references to it under
`preferences'.

Thanks a lot.

Go to Top of Page

a_user

USA
0 Posts

Posted - 08/17/1998 :  4:54:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Recommendation to contact Technical Support

Your original posting made no mention of ticks. I could not produce a problem
such as described by your second posting. To discuss this problem with a
Technical Support engineer, send us an email using the online form at:
http://www.microcal.com/www/tech/tsform.html

[Note: This message was edited by Julie]

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000