1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Draw/PetscDrawSetTitle.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PetscDrawSetTitle</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.4.2 2013-07-02</b></div>
<A NAME="PetscDrawSetTitle"><H1>PetscDrawSetTitle</H1></A>
Sets the title of a <A HREF="../Draw/PetscDraw.html#PetscDraw">PetscDraw</A> context.
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscdraw.h"
PetscErrorCode PetscDrawSetTitle(PetscDraw draw,const char title[])
</PRE>
Not collective (any processor or all may call this)
<P>
<H3><FONT COLOR="#CC3333">Input Parameters</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>draw </B></TD><TD>- the graphics context
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>title </B></TD><TD>- the title
</TD></TR></TABLE>
<P>
<P>
Note: The title is positioned in the windowing system title bar for the window. Hence it will not be saved with -draw_save
in the image.
<P>
A copy of the string is made, so you may destroy the
title string after calling this routine.
<P>
You can use <A HREF="../Draw/PetscDrawAxisSetLabels.html#PetscDrawAxisSetLabels">PetscDrawAxisSetLabels</A>() to indicate a title within the window
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../Draw/PetscDrawGetTitle.html#PetscDrawGetTitle">PetscDrawGetTitle</A>(), <A HREF="../Draw/PetscDrawAppendTitle.html#PetscDrawAppendTitle">PetscDrawAppendTitle</A>()
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>intermediate
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/sys/classes/draw/interface/draw.c.html#PetscDrawSetTitle">src/sys/classes/draw/interface/draw.c</A>
<BR><A HREF="./index.html">Index of all Draw routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|