wiki:docs_plot3d

Version 2 (modified by alexey, 4 years ago) (diff)

--

plot3d field info

  • plot3d support for the module.json
     {
         "role"            : "output",
         "id"              : "plotid",
         "label"           : "3d plot",
         "type"            : "plot3d",
     }
    
    
  • the json output for plotting multiple surfaces/points on a single graph:
     {
        "layout"           : {},
        "data"             : 
               [
                  {
                     "type"    :  plot_type,     # type can be: "mesh3d", "surface", "scatter3d"... 
                     "opacity" :  opacity,       # in a range [0-1] 
                     "x"       :  vector_of_x,   # [1,3,.5,7.5,...]
                     "y"       :  vector_of_y,   
                     "z"       :  vector_of_z,
                     "color"   :  surface_color,
                     "mode"    :  mode           # mode types: "markers", "line"..  
                  } 
               ]
     } 
    

Attachments (1)

Download all attachments as: .zip