plot.c File Reference
#include "common.h"
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "bn.h"
#include "plot3.h"
#include "./ged_private.h"
Include dependency graph for plot.c:

Go to the source code of this file.


int ged_plot (struct ged *gedp, int argc, const char *argv[])

Detailed Description

The plot command.

Definition in file plot.c.

Function Documentation

int ged_plot ( struct ged gedp,
int  argc,
const char *  argv[] 

Create a unix plot file of the currently displayed objects.

Definition at line 45 of file plot.c.

References bu_vls_addr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), bu_vls_strcat(), bu_vls_strcpy(), bu_vls_trunc(), dl_plot(), ged_drawable::gd_headDisplay, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_DRAWABLE, GED_CHECK_VIEW, GED_ERROR, ged::ged_gdp, ged::ged_gvp, GED_HELP, ged::ged_result_str, bview::gv_center, bview::gv_model2view, bview::gv_scale, and usage().

Here is the call graph for this function: