ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   different color on scatter plot separated by a trendline (https://www.excelbanter.com/charts-charting-excel/218393-different-color-scatter-plot-separated-trendline.html)

Laoballer

different color on scatter plot separated by a trendline
 
I have a scatter plot with a linear trendline. What I would like to
be able to chart is a different background color that's separated by
the trendline. So a different background color for anything above the
trendline and a different color below the trendline.

Thanks,

Shane Devenshire[_2_]

different color on scatter plot separated by a trendline
 
Hi,

1. Get the trendline equation by double-clicking the trend line and choosing
Format, Selected Trendline, Options and checking display equation on chart.
2. Create a new series in your data area based on this equation.
3. Plot this series on your chart.
4. Select the series and choose Chart, Chart Type, Area, Stacked Area (2nd
one) OK.
5. Set the color of the Plot area as you wish.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Laoballer" wrote:

I have a scatter plot with a linear trendline. What I would like to
be able to chart is a different background color that's separated by
the trendline. So a different background color for anything above the
trendline and a different color below the trendline.

Thanks,



All times are GMT +1. The time now is 03:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com