Hi,
I am using Gauss 16. I am plotting a boxplot of several vectors (12) and I would like to add a horizontal line as a reference. I could not figure out how to do this. Any recommendations?
tia
1 Answer
1
accepted
You can use the function plotAddXY
to add a line to any 2-D plot. For example:
// Create some data for box plot x = rndn(100,4); // Draw box plot plotBox(0, x); // Create coordinates for line x_l = { 0, 5 }; y_l = { 0, 0 }; // Add line to box plot plotAddXY(x_l, y_l);
Your Answer
1 Answer
1
accepted
You can use the function plotAddXY
to add a line to any 2-D plot. For example:
// Create some data for box plot x = rndn(100,4); // Draw box plot plotBox(0, x); // Create coordinates for line x_l = { 0, 5 }; y_l = { 0, 0 }; // Add line to box plot plotAddXY(x_l, y_l);