hello, how can I add a legend on a graph to distinguish between graphs plotted (on the same canvas) from different gas files using Garfield++?
like plotting the electron drift velocity in two different gases, for example
hello, how can I add a legend on a graph to distinguish between graphs plotted (on the same canvas) from different gas files using Garfield++?
like plotting the electron drift velocity in two different gases, for example
You can use the method SetLabels
of the class ViewMedium
to set the labels of each graph explicitly.
thanks a lot, I declared string vectors then used them in SetLabels and it workd!!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.