Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Graph legend question

$
0
0

I am attempting to draw legends based on a variable number of plots. I use LGInsertLegendItemForPlot. When I draw the legend for a single plot, no problem. It draws the plot description ("buffer" in LGInsertLegendItemForPlot) and it draws the plot legend (i.e 4 data points using, say, crosses, with the correct colour, mimicking the actual plot). When I want to show two legends (two plots/plothandles) it does the same but the two descriptions are on top of one another. The plot legends are not on top of one another but below one another, as expected. I played around with the "position" variable but this does not seem to make any difference. Any suggestions?

Regards and thanks

Erik


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>