parameters: (fignum,
                     values,
                     linespec="g*",
                     marginals=None,
                     title="3D Points",
                     axis_labels=('X axis', 'Y axis', 'Z axis'))
docstring: Plots the Point3s in `values`, with optional covariances.
      Finds all the Point3 objects in the given Values object and plots them.
      If a Marginals object is given, this function will also plot marginal
      covariance ellipses for each point.
  
      Args:
          fignum (int): Integer representing the figure number to use for plotting.
          values (gtsam.Values): Values dictionary consisting of points to be plotted.
          linespec (string): String representing formatting options for Matplotlib.
          marginals (numpy.ndarray): Marginal covariance matrix to plot the
              uncertainty of the estimation.
          title (string): The title of the plot.
          axis_labels (iterable[string]): List of axis labels to set.
docstring_summary: Plots the Point3s in `values`, with optional covariances.
      Finds all the Point3 objects in the given Values object and plots them.
      If a Marginals object is given, this function will also plot marginal
      covariance ellipses for each point.
docstring_tokens: Plots the Point3s in values with optional covariances . Finds all the Point3 objects in the given Values object and plots them . If a Marginals object is given this function will also plot marginal covariance ellipses for each point .
function: def plot_3d_points(fignum,
                     values,
                     linespec="g*",
                     marginals=None,
                     title="3D Points",
                     axis_labels=('X axis', 'Y axis', 'Z axis')):
      """
      Plots the Point3s in `values`, with optional covariances.
      Finds all the Point3 objects in the given Values object and plots them.
      If a Marginals object is given, this function will also plot marginal
      covariance ellipses for each point.
  
      Args:
          fignum (int): Integer representing the figure number to use for plotting.
          values (gtsam.Values): Values dictionary consisting of points to be plotted.
          linespec (string): String representing formatting options for Matplotlib.
          marginals (numpy.ndarray): Marginal covariance matrix to plot the
              uncertainty of the estimation.
          title (string): The title of the plot.
          axis_labels (iterable[string]): List of axis labels to set.
      """
  
      keys = values.keys()
  
      # Plot points and covariance matrices
      for key in keys:
          try:
              point = values.atPoint3(key)
              if marginals is not None:
                  covariance = marginals.marginalCovariance(key)
              else:
                  covariance = None
  
              fig = plot_point3(fignum,
                                point,
                                linespec,
                                covariance,
                                axis_labels=axis_labels)
  
          except RuntimeError:
              continue
              # I guess it's not a Point3
  
      fig = plt.figure(fignum)
      fig.suptitle(title)
      fig.canvas.set_window_title(title.lower())
function_tokens: def plot_3d_points ( fignum , values , linespec = "g*" , marginals = None , title = "3D Points" , axis_labels = ( 'X axis' , 'Y axis' , 'Z axis' ) ) : keys = values . keys ( ) # Plot points and covariance matrices for key in keys : try : point = values . atPoint3 ( key ) if marginals is not None : covariance = marginals . marginalCovariance ( key ) else : covariance = None fig = plot_point3 ( fignum , point , linespec , covariance , axis_labels = axis_labels ) except RuntimeError : continue # I guess it's not a Point3 fig = plt . figure ( fignum ) fig . suptitle ( title ) fig . canvas . set_window_title ( title . lower ( ) )