This file is indexed.

/usr/share/plplot_octave/pldef.m is in octave-plplot 5.13.0+dfsg-6ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
## Copyright (C) 1998-2003 Joao Cardoso.
##
## This program is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by the
## Free Software Foundation; either version 2 of the License, or (at your
## option) any later version.
##
## This program is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## This file is part of plplot_octave.

## set user defaults
##
## Copy this script to your own Octave directory and uncomment/add the desired defaults.
##
## The standard defaults, defined elsewhere, are
##
## plSetOpt("geometry", "400x400+800+1");
## plSetOpt("np", "");
##
## and will be override by the defaults set here.
## Also, for special needs, plsetopt() can be used to add more options
## or override the ones defined here.
##
## see also plsetopt() for a complete list of options.

function pldef

  ## set some options, as if they where in the command line, before plinit()

  ## The DISPLAY name. Not needed
  ## plSetOpt("display", getenv("DISPLAY"));

  ## The window geometry
  ## plSetOpt("geometry", "400x400+800+1");

  ## bytes sent before flushing output
  ## plSetOpt("bufmax", "100000");

  ## Double buffer (smoother. Must use pleop() to flush).
  ## Fails with comet()!! (plplot plxormod() function)
  ##  plSetOpt("db", "");

  ## Don't wait for keypress to advance plots
  ## plSetOpt("np", "");

  ## Start in debug mode
  ## plSetOpt("debug", "");

  ## verbose
  ## plSetOpt("verbose", "");

  ## Dont't use pixmap (faster but stepper scrolling)
  ## must use in double buffering mode
  ## plSetOpt("nopixmap", "");

  ## Set background colour to white if you prefer. It might be important for
  ## printing from the xwin driver. Plot colors don't change.

  ## gray background
  ## plSetOpt("bg", "D8D8D8");
  ## plscol0(0, 216, 216, 216);

  ## white background
  ## plSetOpt("bg", "FFFFFF");
  ## plscol0(0, 255, 255, 255);
  ## plscol0(15, 0, 0, 0);

  ## Defaults to be done after opening a plot window.
  ## can't be set here!

  ## Change color 15 from white to back
  ## (usefull if you change background to white)
  ## plscol0(15, 0, 0, 0);

  ## Change color 0 from back to white. Background also change.
  ## (usefull if you change background to white)
  ## plscol0(0, 255, 255, 255);

  ## Don't wait for keypress to advance plots
  ## also in the "command line" options, "-np"
  ## plspause(0)


endfunction