The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
How to change color of plot line?
In Visualizations -> Scatter / Bubble, I tried to change the color of the Linear line by going to Plot Style and even clicked on 'Color palette', but no luck.
(I also tried searching here and in the online documentation, but did not find anything. I'm sure it's something very simple that I'm missing!)
Please help.
(I also tried searching here and in the online documentation, but did not find anything. I'm sure it's something very simple that I'm missing!)
Please help.
0
Answers
Your intuition was correct in going into Plot Styles, the only thing you need to do is click on the first colour (default blue) and then select the colour you'd like. You can also change the order of default colours in the 'Color palette', for example here I've made green my first default colour. Hope this helps!
Best,
Roland
Thanks for your response. However, I'm referring to the color of the Regression line. I found no way to change that from the default. Please change Regression interpolation from 'None' to 'Linear' and change the color of the line.
Please advise.
Thanks.
I've had a look at our plot configurations, and to me it looks like the Regression line will take the colour of the first default colour. I will raise an RFE, in the meantime, I would use 2 plots to achieve what you're after:Â
I've attached the configuration file, which is using the Polynomial dataset from the Samples. Any questions let me know.
Best,
Roland