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
 Arranging boxplot-graphs unequally on the x-axis
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

MrsPacman

Germany
2 Posts

Posted - 01/24/2018 :  08:18:53 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi to all forum members,

having a little problem here u might can help.

I created a diagram with the follow up data of serume levels. I made a boxplot for each point of interest in the same diagram: At 3, 6, 9, 12, 24, 36, 48 and 60 months.

Now i want to arrange these boxplots in correct spacing in terms of the time that has passed on the X-axis.

Hope u can help.
Thank you

Edit: i tried to illustrate the result im hoping to get at the end


Edited by - MrsPacman on 01/24/2018 10:32:37 AM

YimingChen

1632 Posts

Posted - 01/24/2018 :  2:38:52 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Here we presume you have raw data that each column stores the data for one box. Select all columns and make a box plot. To have boxes spaced referring to numeric x axis, you can do the following:
1. Double click the box plot. Switch to Box tab, set X position to Long Name, assuming here the position values are stored in the Long Name.
2. To change x axis labels, double click on x axis, switch to Tick Labels tab. Under Table subtab, uncheck Enable checkbox. Under Format subtab, change Alignment to Center.
3. Select Scale tab, set Major Ticks Type to By Plot Column Label, set Column label to Long Name.
The result should look like below.


James

Edited by - YimingChen on 01/24/2018 2:39:20 PM
Go to Top of Page

MrsPacman

Germany
2 Posts

Posted - 01/25/2018 :  05:21:56 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you so much, this is exactly what i was looking for!

Hope you dont mind asking a second (and probably my last) question.

Is there a possibility adding a second X-axis labeling additionally to the first?

I want to label the number of patients to each boxplot as well as in the following example:

Thank you!

Edited by - MrsPacman on 01/25/2018 05:26:57 AM
Go to Top of Page

YimingChen

1632 Posts

Posted - 01/25/2018 :  10:34:33 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You can put the patient # in a different column header row, say Comments.
1. In the X Axis property dialog, go to Tick Labels tab, Display subtab, change Type to Column Name or Label, change Display to <Custom>, in Custome Display entry, enter %(?, @LA) %(?, @LC).
2. Go to Format subtab, expand Wrap Text node, change Wrap Text to By Number of Characters, set Wrap Minimum Width to 1.
Apply the change, two rows of labels will display. Hope this answers your questions.

James,
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