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
 Grouped Column Diagram - Colours
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

MarcelR

Germany
4 Posts

Posted - 09/12/2017 :  04:35:43 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver.: OrigiPro 2017G

Hello,

I got a problem with the creation of a diagram.



The left picture shows, how the diagram looks like at the moment. I want to change the colour of the Groups A-C and use the hatching for the discription 1 and 2.

I hope you understand, what i trying to do. Perhaps you can tell me how to do it.

Many thanks in advance.

Marcel

arstern

USA
237 Posts

Posted - 09/12/2017 :  09:03:38 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Here is a tutorial that should help.
http://www.originlab.com/doc/Origin-Help/grouped-column-index-data
http://www.originlab.com/doc/Tutorials/CroupedColumn-ErrBar-Label

You can set the pattern and fill color to index a column.


Thanks
Aviel
OriginLab


Go to Top of Page

MarcelR

Germany
4 Posts

Posted - 09/13/2017 :  05:26:31 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello, thanks for you answer.

Now the diagram looks like that:



So everything is fine now with the exeption of the legend. I need the legend without the background colour. Moreover i Need a legend with the ABC Colour too.

Thanks :)
Go to Top of Page

arstern

USA
237 Posts

Posted - 09/13/2017 :  09:08:15 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi to show both fill color and pattern, right click the legend and Select Legend -> Select Categorical Values.

This will open the Graph:legendcat dialog box. Then select Fill Color and Fill Pattern. Select Apply.



Aviel
Go to Top of Page

MarcelR

Germany
4 Posts

Posted - 09/13/2017 :  09:20:06 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If i try to click on "Legend -> Categorical Values", i can not select "Categorical Values" (it is Grey). Perhaps you know, what to do?
Go to Top of Page

arstern

USA
237 Posts

Posted - 09/13/2017 :  10:44:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

To use the categorical values in the legend, you must define categories which are added to the indexing column. If the columns are not indexed, then the categorical values will be greyed.

http://www.originlab.com/doc/Origin-Help/Legend-CateData

The simplest way to do this use to plot with a Group Plot.
Another way is to set categories in each column worksheet and select customize categories in the Categories dialog box.
http://www.originlab.com/doc/Origin-Help/ColProperties-Dialog-Categories-Tab

Aviel
Go to Top of Page

MarcelR

Germany
4 Posts

Posted - 09/14/2017 :  04:32:24 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hey, i tried everything, but i dont get the categories.

Could you perhaps look at the data if i created it the right way?

https://gigamove.rz.rwth-aachen.de/d/id/KKkdgaomHcej5A

(i hope ist ok to share a link here)

Go to Top of Page

arstern

USA
237 Posts

Posted - 09/14/2017 :  10:59:51 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

There two reasons why this is not working.

1) Your pattern and color are not indexed to a specific column. You selected By Points -> Custom increment, rather than indexed to column (B).

For pattern you have selected is By Plot which again is not indexed to a column.

2) When you select group plot, you are grouping ABC and 1d2d3d, but you are not grouping 1,2 which makes creating a legend difficult.

Method:

I first reorganize your worksheet, make sure column B and C are set to category:


I select column D -> Select Plot -> Column (not Group Plot)



Then double click the x-axis to open the X-axis dialog box. Select Tick Labels. Select Table tab/ Select Enable. Select 2 for Number of Rows. Select Apply.


Then Select Bottom 2 -> Select Tick Labels -> Select Display -> Make sure for dataset you select column B.


Close the axis dialog. Double click the Graph to open the Plot Details dialog. Select Pattern -> Select Fill Color -> Select By Points -> Select Indexing -> Select Col(B). (You may need to change the color in the color list tab).


Next Select the Pattern tab -> select By Points -> Select col(C)


I then insert a legend. I right click the legend, if needed select categorical values. I select Properties to open the Text Object - Legend dialog box. I then changed a little bit of the text so that it appears what I thought makes sense.


Aviel
OriginLab
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