Jump to content

Recommended Posts

Posted

I would like to be able to set up logistic regression curve fit for a scatter plot and then select options: one line for each color and shape. And then I want to turn off display (of the fit line)  for one specific shape. Is that possible in Ironpython?

  • 2 weeks later...
Posted

Hi Sundaram,

I see. As you have multiple cross shapes in the second curve, and you have a line per shape, you'll get the two lines.
The upper curve only has one cross shape, hence no line is being drawn.

And disabling the line per shape, alters the complete line. I'm assuming that is not what you want either.
I'll ask my colleagues if there is a way around this.

Kind regards,

David

Posted

Hi Sundaram,

We think there are a couple of workarounds possible.
The first one is not to use the Excluded data. That would give you the Included data and it's curve.

But if you want/need the Excluded data as well, you can color code it in white, so it doesn't show in the plot:
image.thumb.png.62cb671d4a1c52b2cdd69eb0965846df.png

You can even get rid of the cross shapes, if you select the white cross shape in the 'Shape' section:
image.png.ce382c3af2462aa1aea5d53b942caa83.png

Kind regards,

David

Posted (edited)

thanks - I thought about using white color - but I need to show the excluded points without showing the line through them. The only way I have been able to do so far is to have two different scatter plots, one like this and a duplicate copy where I draw a reference curve based on the calculated parameters for just the included points - but this slows down rendering/parameters export (to table) etc for very large data sets

Edited by Sundaram Sridharan

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...