Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I highlight a section of a graph by “backlighting” a portion of a graph, allowing the background behind a section of a data trace to have a specified color?

0
Posted

How do I highlight a section of a graph by “backlighting” a portion of a graph, allowing the background behind a section of a data trace to have a specified color?

0

Use the WGRectangle function to create a “highlight” rectangle. Then be sure to create this rectangle with this function before you create your data plot (with WGLinePlot, for example), so that the rectangle will be drawn behind the data plot object. You can change the size and/or the position of this highlight rectangle at a later time with a call to WGChangeObjectCoord.

Related Questions

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.