Author |
Topic |
|
dominik.mierzwa
Poland
118 Posts |
Posted - 02/20/2021 : 12:15:56 PM
|
Hi, I have some problems with setting the legend position. I would like to set the anchor point at right-top, and % of layer vertical 100, horizontal 0.
This what I got:
My settings:
I used TAB in the legend. Maybe this is the problem?
Kind regards, Dominik |
|
Chris D
428 Posts |
Posted - 02/22/2021 : 08:28:25 AM
|
Indeed it is the tab character that is causing the problem.
We can report it as an issue but in the mean time, you'll have to use spaces.
(Internal JIRA: ORG-23237)
Thanks, Chris Drozdowski Originlab Technical Support
|
|
|
dominik.mierzwa
Poland
118 Posts |
Posted - 02/22/2021 : 09:07:15 AM
|
quote: Originally posted by Chris D
Indeed it is the tab character that is causing the problem.
We can report it as an issue but in the mean time, you'll have to use spaces.
Thanks, Chris Drozdowski Originlab Technical Support
Thank you.
Kind regards, Dominik |
|
|
minimax
351 Posts |
|
dominik.mierzwa
Poland
118 Posts |
Posted - 03/02/2021 : 07:33:04 AM
|
quote: Originally posted by minimax
Hi Dominik,
Instead of directly typing(copying) the tab character into the editbox, would you mind to use Origin's predefined variables?
For tab character, it is %(tab), see https://www.originlab.com/doc/LabTalk/ref/LT-Keywords
Hi minimax,
the problem of legend position is probably solved, however, I cannot manage the text to stay in a current position. I'm not sure how the%(tab) works. This is what I got:
This is what I want (I used multiple space):
Kind regards, Dominik |
Edited by - dominik.mierzwa on 03/02/2021 07:35:01 AM |
|
|
minimax
351 Posts |
Posted - 03/03/2021 : 01:40:26 AM
|
Hi Dominik,
What is your Origin version?
Would you mind to try if following text works?
\^(c)\^(c)%(1.1,@L)\^(c)%(2.1,@L)
%(1.1) \^(c)\l(1.1) \^(c)\l(2.1)
%(1.2) \^(c)\l(1.2) \^(c)\l(2.2)
Max OriginLab Technical Support |
|
|
dominik.mierzwa
Poland
118 Posts |
Posted - 03/03/2021 : 02:42:47 AM
|
quote: Originally posted by minimax
Hi Dominik,
What is your Origin version?
Would you mind to try if following text works?
\^(c)\^(c)%(1.1,@L)\^(c)%(2.1,@L)
%(1.1) \^(c)\l(1.1) \^(c)\l(2.1)
%(1.2) \^(c)\l(1.2) \^(c)\l(2.2)
Max OriginLab Technical Support
It works perfectly.
I suppose that \^(c) is column separator, am I right? Is it possible to control the space between columns? I'd like to get some more space between.
Origin version:
Kind regards, Dominik |
|
|
minimax
351 Posts |
Posted - 03/03/2021 : 05:17:11 AM
|
Hi Dominik,
Then you can use %(tab) if you think normal "space" character is not good enough?
like
\^(c)\^(c)%(1,@LU)\^(c)%(2,@LU)
%(1)%(tab)\^(c)\l(1.1)%(tab)\^(c)\l(1.1)
%(2)%(tab)\^(c)\l(1.2)%(tab)\^(c)\l(1.2)
After that you can toggle the value on Tab editbox on dialog to get a smaller gap, like setting it to be 2.
We will update document for the \^(c) notation. (which seems absent now) |
|
|
dominik.mierzwa
Poland
118 Posts |
Posted - 03/04/2021 : 11:19:38 AM
|
quote: Originally posted by minimax
Hi Dominik,
Then you can use %(tab) if you think normal "space" character is not good enough?
Thank you, it looks perfect!
Kind regards, Dominik |
|
|
|
Topic |
|