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
 Conditional space in an axis label
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AKazak

Russia
1205 Posts

Posted - 03/03/2022 :  07:06:04 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2022 (64-bit) SR1 9.9.0.225
Windows 7 Pro SP1 x64

Greetings!

I format the X-axis title in the following way:
\b(%(1Y,@LL) %(1Y,@LD3) %(1Y,@LD4) (%(1Y,@LU))


What is the proper way to stick the preceding space to the field?
By sticking I mean inserting the space only if a field is non-empty.

Thank you.

---
Andrey

ChaoC

USA
178 Posts

Posted - 03/03/2022 :  12:21:02 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Andrey,

This is currently not supported.
I have created a Jira ORG-24901 for improvement.

Thanks,

Chao
Go to Top of Page

minimax

351 Posts

Posted - 03/03/2022 :  8:42:15 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Andrey,

Would you mind to show us a sample image to see what display do you expect?
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 03/04/2022 :  06:14:01 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by minimax

Hi Andrey,

Would you mind to show us a sample image to see what display do you expect?



Besides Long Names my table contains about 5 user parameters describing the column. I want to make a composite of their values in the X-axis label.

For example, I have Property (Long Name), Sample State, Saturating Fluid, PT (stands for pressure and temperature) user parameters in the table. However some of the user parameter cells are partly empty. In the latter cases I get double spaces in the X-axis label of a histogram.

What is needed is a conditional space character/field that appears only of the character adjacent to the space (to the left or to the right) is not a whitespace.

---
Andrey
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 03/18/2022 :  3:24:32 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Can you share you an update on the topic, please?

---
Andrey
Go to Top of Page

snowli

USA
1391 Posts

Posted - 03/18/2022 :  5:01:57 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Andrey,

This will be in the coming beta4.

Thanks, Snow
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 03/19/2022 :  03:16:25 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by snowli

Hi Andrey,

This will be in the coming beta4.

Thanks, Snow



Dear Snow,

I would be happy to test the feature in 2022b Beta 4.

---
Andrey
Go to Top of Page

snowli

USA
1391 Posts

Posted - 03/30/2022 :  2:27:12 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Andrey,

This is implemented in beta4 we just announced.
https://my.originlab.com/beta/forum/topic.asp?TOPIC_ID=13457

Could you try it?
\b(%(1Y,@LL)\sc%(1Y,@LD3)\sc%(1Y,@LD4)\sc(%(1Y,@LU)))

1. Ignore empty parameters
2. Introduced new escape sequence to represent conditional space \sc

Thanks, Snow
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