#include "draw.h" int ViewerDrawOpen(MPI_Comm comm,const char display[],const char title[],int x,int y,int w,int h,Viewer *viewer)Collective on MPI_Comm
comm | - communicator that will share window | |
display | - the X display on which to open, or null for the local machine | |
title | - the title to put in the title bar, or null for no title | |
x, y | - the screen coordinates of the upper left corner of window, or use PETSC_DECIDE | |
w, h | - window width and height in pixels, or may use PETSC_DECIDE or DRAW_FULL_SIZE, DRAW_HALF_SIZE, DRAW_THIRD_SIZE, DRAW_QUARTER_SIZE |
VIEWER_FORMAT_DRAW_BASIC | - displays with basic format | |
VIEWER_FORMAT_DRAW_LG | - displays using a line graph |
-draw_type x or null | - . -nox - Disables all x-windows output | |
-display <name> | - Specifies name of machine for the X display | |
-draw_pause <pause> | - Sets time (in seconds) that the program pauses after DrawPause() has been called (0 is default, -1 implies until user input). |
Level:beginner
Location:src/sys/src/viewer/impls/draw/drawv.c
Viewer Index
Table of Contents