Grasshopper

algorithmic modeling for Rhino

I want to plot a (2D/3D) XY graph. What plugin to use for it..?

Views: 6616

Replies to This Discussion

Not exactly a heat map..but the you sent is useful :)

Thanks

No plugin necessary!  Just plot the points and connect them with interpolated curve.  If 3D, loft the curves for each "layer".

Thanks for replying..

I used the data recorder to get the coordinates of the points and then I connected it the interpolate curve, but I am not getting the curve. Is there anything else I should be doing?

Attachments:

Panel output is "Text". Interpolate Curve's V input cannot recognize text.

Connect directly to data recorder.

I tried that as well. Still no curve

[Cull Duplicates] component.

It worked... Cull Duplicates it is :) 

Thanks a lot Daniel and Hyungsoo

I can see that 'Cull Duplicates' is necessary, but why are there duplicates at all?

And there should be no need for the data recorder at all; just use the output of 'Rot3D' directly.

Most important of all - POST YOUR CODE!  Had you done that, there would be no need for speculation.

I am using a timer which is set to 20ms (using arduino with grasshopper.  to get realtime data)..so I get a lot of points for which Cull Duplicates becomes necessary and directly connecting Rot3D to interpolate curve does not work.. 

It can be tricky to avoid duplicate data using data recorder.  In that case, I suggest capturing your data (angle values?) and internalizing it so people here can see it and work with it.  Use a 'Num' param, right-click and "Internalize data", which will disconnect 'Num' from its input and preserve the values when the GH file is saved (and posted here!).

Duplicate numeric values might be significant for graphing - or can be eliminated before any points are created using 'CSet (Create Set)'.  There are many ways to graph data.

Attachments:

I should have used 'PLine' instead of 'IntCrv'.  If you connect the data recorder to the 'Num' param, you can simulate what happens from an external source by playing with the 'Seed' slider.

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service