Open Neoyning opened 1 month ago
There is no parameter that you can change at runtime. You need to add a glLineWidth()
with your desired line width before glDrawArrays
here:
https://github.com/stevenlovegrove/Pangolin/blob/13e4a1804cefe8ddfd22cdddfac183d5d2828859/components/pango_plot/src/plotter.cpp#L558-L562
E.g. with glLineWidth(i*3);
I get:
It would be nice to have a runtime option for this. Interested in sending a PR? :-)
Hi,
I am using pangolin::Plotter for plotting figures, notice that there are solid line, dashed line, and dotted line for line style. Is there an option for changing the line width of the plot?
Thanks