Chris Dorger Posted July 10, 2019 Share Posted July 10, 2019 I am using Line Chart to create a trellis plot of data for a subject in a study. For some reason, it draws 2 of the 3 plots in the correctorder of visit. The last plot is drawn in some haphazard order. Why is this The data is sorted in the same way for all subjects. See the image of the data and the resulting plot. How can I fix it Link to comment Share on other sites More sharing options...
Colin Gray 3 Posted July 11, 2019 Share Posted July 11, 2019 Hi there, If you go to the Line Connection page in the properties for the line chart, you can set an 'order each line by' column, or just select to order it by your X axis values. Hopefully this sorts your issue. Thanks Colin Link to comment Share on other sites More sharing options...
Chris Dorger Posted July 11, 2019 Author Share Posted July 11, 2019 Thanks, Colin, but Line Connection is under Scatter Plot not Line Chart. Line Chart has "Line By". When I use that to "Show one line for each Visit" I get no line connecting the points. If is use it to "Show one line per subject", it does not draw the points in the correct order. I think I am going to abandon Line Chart for this purpose. Scatter Plot creates the correct plot. Link to comment Share on other sites More sharing options...
Colin Gray 3 Posted July 12, 2019 Share Posted July 12, 2019 Ah sorry, my mistake! In general, I find using the scatter plot with a line connection more effective in more situations than the line chart anyway, so glad you got it working. ThanksColin Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now