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
 Histogram legend based on label column
 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 - 02/19/2021 :  03:06:12 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2021b (64-bit) Beta 5 9.8.5.105
Windows 7 Pro x64 SP1

Greetings!

I used freqcounts to prepare a data for histogram.
Then I created a Column Graph from Bin Start (X) and Counts (Y).
I filled bars based on X value and want to configure a legend in such a way to display all colors with text from a Label column.

How do I achieve this in a semi-automatic way?

Please see a sample project: https://my.originlab.com/ftp/forum_and_kbase/Images/Histogram%20Legend%20Test.opju

Thank you.

---
Andrey

AKazak

Russia
1205 Posts

Posted - 02/19/2021 :  07:44:21 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I figure out that Legend | Categorical Values command populated the legend with the required items.
Now, how does one use the label column to populate the legend text entries?

Thank you.

---
Andrey

Edited by - AKazak on 02/19/2021 07:44:33 AM
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 02/19/2021 :  08:15:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Solved the issue with help of these pages:
https://www.originlab.com/doc/Origin-Help/Legend-CateData
https://www.originlab.com/doc/Origin-Help/Legend-ColorScale
https://www.originlab.com/doc/Quick-Help/Wrap-Legend-Text
https://www.originlab.com/doc/Origin-Help/Legend-ManualControl

Take care!

---
Andrey

Edited by - AKazak on 02/19/2021 08:31:10 AM
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