Plot3d

Create a 3D scatter plot using chroptiks.p3d.plot and save it to a file. Accepts x, y, z arrays as JSON. Note that p3d.plot normally calls plt.show(); this jinx suppresses display and saves instead.

npc-worldwide 5088549 2 files · 1.7 KB Updated

File contents

plot3d

Create a 3D scatter plot using chroptiks.p3d.plot and save it to a file. Accepts x, y, z arrays as JSON. Note that p3d.plot normally calls plt.show(); this jinx suppresses display and saves instead.

Inputs

  • data_json (default: '{"x": [], "y": [], "z": []}')
  • output_path (default: 'plot3d.png')

Steps

Usage

/run_jinx jinx_ref=plot3d input_values={"data_json": "{\"x\": [], \"y\": [], \"z\": []}", "output_path": "plot3d.png"}

npc-worldwide/chroptiks/tree/main/skills/plot3d commit 508854997d

Frequently asked questions

npx skillmds@latest add npc-worldwide/plot3d