Trellis plot is introduced in Origin 2017 to present data in multiple panels. This plotting method is very useful if data is grouped with grouping information in one or two columns like below. While one drawback of trellis plot is that the X, Y scales have to be identical among panels. In Origin 2019 we introduce new plot type called cluster plot, with which user has more flexibility in plotting grouped data in multiple panels. Two main advantages are:
- X,Y scales can be different among panels.
- User can choose to hide certain groups of data in the graph.
Please download the data file for this tutorial.
- Open the attached file, highlight col(E), select from menu Plot: Cluster Plot… to open the dialog. Make the following changes in the dialog. Plot Type is set to Line+Symbol. Set col(C) 、 col(D) as layer separators along horizontal and vertical directions. Set col(A) as variable to color the data points. Click OK to see the result.
- Customize the graph as you desired:
3. If you want to hide some layers in the graph, please click on the green lock on the upper left of the graph and select Show/Hide Layers…. In the dialog, uncheck “1” under drug node. The layers in the graph with drug=1 is hidden from the graph.
- Please note that the grouping columns are treated as categorical when making the plot. You can reorder the categories in grouping column in worksheet to reorganize the layers.
Please find more Origin 2019 new features on the following page: http://www.originlab.com/2019