-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how Bounds of surface is set #9
Comments
X and Y bounds are computed based on the bounds of the OrthonormalGrid which is passed, i.e. "range" parameters in your sample
|
thank you for your reply. |
This is obviously not normal.
As far as I remember, never seen it before.
Do you have a small code snippet to share so I could debug this issue?
2018-02-20 12:57 GMT+01:00 GIRISHBR07 <notifications@github.com>:
… thank you for your reply.
I have one more question!
Why and when do min and max X,Y,Z are set to -1.7976931348623157E+308 and
1.7976931348623157E+308?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGxeiUfDmFAlpXvgaugY3DjJ1nKgZWkfks5tWrMpgaJpZM4SLv9B>
.
|
i have attached file here. |
OK, I got your issue. With nzy3d, you previously had only one solution: you must plot a surface. And this surface is usually on an orthonormal grid, meaning x and y samples must be regularly spaced AND must form a regular grid. This is absolutely not the case of your data. Hence, all points of your "abnormal" grid are discarded and you end up with an error (which should be way more explicit, I agree). Now, Martin@jzy3d has implemented a 3D scatter plot (which is probably what you want to do as I image). I just converted it into C# and commited the code in nzy3d repo. You can now plot 3D scatterplots with either a constant color for all points or a choosen color per point (use the Scatter class) or a color relative to their z-value (use ScatterMultiColor class). One sample code with ScatterMultiColor:
|
can you please explain how Bounds of surface is set in the below line:
The text was updated successfully, but these errors were encountered: