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?

GaryKGGaryKG Member Posts: 6 Learner I
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.

Answers

  • rjones13rjones13 Member Posts: 204 Unicorn
    Hi @GaryKG,

    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
  • GaryKGGaryKG Member Posts: 6 Learner I
    Hi 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.
  • rjones13rjones13 Member Posts: 204 Unicorn
    Hi @GaryKG,

    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
Sign In or Register to comment.