50 #include <visp/vpConfig.h>
51 #include <visp/vpPlot.h>
55 #if defined(VISP_HAVE_DISPLAY)
67 plot.setTitle(0,
"First graphic");
68 plot.setUnitX(0,
"time (s)");
69 plot.setUnitY(0,
"y");
70 plot.setUnitZ(0,
"z");
71 plot.setLegend(0,0,
"y^2+z^2=1 and y(0) = 1");
72 plot.setLegend(0,1,
"y^2+z^2=1 and y(0) = -1");
83 unsigned long iter = 0;
85 std::cout <<
"Hit CTRL-C to or right mouse button to exit..." << std::endl;
121 std::cout <<
"Catch an exception: " << e << std::endl;
125 std::cout <<
"Plot functionalities are not avalaible since no display is available." << std::endl;
error that can be emited by ViSP classes.
static const vpColor green
This class enables real time drawing of 2D or 3D graphics. An instance of the class open a window whi...