PLOT(3X)PLOT(3X)NAME
plot: openpl et al. - graphics interface
SYNOPSIS
openpl( )
erase( )
label(s) char s[ ];
line(x1, y1, x2, y2)
circle(x, y, r)
arc(x, y, x0, y0, x1, y1)
move(x, y)
cont(x, y)
point(x, y)
linemod(s) char s[ ];
space(x0, y0, x1, y1)
closepl( )
DESCRIPTION
These subroutines generate graphic output in a relatively device-independent manner. See plot(5) for a description of their effect.
Openpl must be used before any of the others to open the device for writing. Closepl flushes the output.
String arguments to label and linemod are null-terminated, and do not contain newlines.
Various flavors of these functions exist for different output devices. They are obtained by the following ld(1) options:
-lplot device-independent graphics stream on standard output for plot(1) filters
-l300 GSI 300 terminal
-l300s GSI 300S terminal
-l450 DASI 450 terminal
-l4014 Tektronix 4014 terminal
SEE ALSO plot(5), plot(1), graph(1)PLOT(3X)
Check Out this Related Man Page
plot(3x)plot(3x)Name
openpl, erase, label, line, circle, arc, move, cont, point, linemod, space, closepl, box, color, dot - graphics interface
Syntax
openpl()
erase()
label(s)
char s[];
line(x1, y1, x2, y2)
circle(x, y, r)
arc(x, y, x0, y0, x1, y1)
move(x, y)
cont(x, y)
point(x, y)
linemod(s)
char s[];
space(x0, y0, x1, y1)
closepl()
box(x0, x1, y0, y1)
color(c)
dot()
Description
These subroutines generate graphic output in a device-independent manner. See for a description of their effect. The subroutine precedes
the other subroutines as it opens the device for writing. The subroutine flushes the output. The and routines are used by the lvp16 and
hp7475a plotters only.
String arguments to and are null-terminated and do not contain newlines.
Many of these functions have additional options for different output devices. They are accessed by the options as follows:
-lplot device-independent graphics stream on standard output for filters
-lplotaed AED 512 color graphics terminal
-lplotbg BBN bitgraph graphics terminal
-lplotdumb dumb terminals without cursor addressing or line printers
-lplotgigi gigi graphics terminal
-lplotgrn grn files
-lplot2648 HP 2648 graphics terminal
-lplot7221 HP 7221 graphics terminal
-lplotimagen Imagen laser printer (default 240 DPI resolution)
-l300 GSI 300 terminal
-l300s GSI 300S terminal
-l450 DASI 450 terminal
-l4013 Tektronix 4013 terminal
-l4014 Tektronix 4014 terminal
-llvp16 DEC LVP16 and HP7475A plotters
See Alsograph(1g), plot(1g), plot(5)plot(3x)
I need to plot some files with the extension .plot, which I believe is a UNIX Plot(5) extension. Is UNIX Plot(5) something that I must download, or is it already built into UNIX? If it is already built in, is there a trick to actually plotting the files? Is there anything online that I could... (0 Replies)
Hi , i need to plot a x-y axis graph using AWK or CSH. Pls help.
The data is as follows:
1 3
2 1
3 4
4 2
5 4
where 1st column refers to x-coordinate and 2nd column refers to y-coordinate. Note that x-coordinate may not be in sequence and the no of set of coordinates is unknown... (3 Replies)
I have a simple gnuplot question. I have a set of points (list of x,y,z values; irregularly spaced, i.e. no grid) that I want to plot. I want the plot to look like this:
- points in map view (no 3D view)
- color of each point should depend on its z-value.
- I want to define my own color scale
-... (0 Replies)
Hey,
How can I transfer the terminal output to a file ?
For example :
command "fuser" returns the "process-id" and prints the output on the terminal, but I want that output to a file as well. How can I do that ?
/clocal/mqbrkrs/user/mqsiadm/sanjay/AccessMonitor $ fuser -uf... (2 Replies)
Hi,
I'm trying to plot some data using the awk to find and parse the data and then use gnuplot to plot it up. I'd like to plot one or more range cells (let the user decide!). I've been able to write up the code such that I can plot one range cell per plot, but I just can't see how to get more... (1 Reply)
Hi all..
I am trying to draw a line on the monitor on sun platform machine. I tried a simple program.
#include<stdio.h>
#include<plot.h>
int main()
{
openpl();
linemod("dotted");
line(1000,1000,2000,2000);
closepl();
return 0;
}
It doesn't produce the desired result.
If one... (0 Replies)
Hi,
I am trying to make a plot of an ASCII file using GNUplot, but I keep getting error msg:
for example plot filename.txt
It says that (.txt ) is not identified ... I tried to write it without the .txt part, but I also get the error msg.
Any idea why? :confused: (1 Reply)
Hi Experts,
I want to plot graph for interface traffic of redhat machine.
I am having hard time finding where to start. Any tools ?
i found this php script which prints bytes send / received.
but i need something which can give me value as mbps or kbps.
If can can get output from some... (2 Replies)
I have a data file with 3 columns.
I want to plot a "map view" plot with column 1 and column 2 as x and y axis respectively.
The third column is 0 or one.
I want a plot that draws a line separating the region with 3rd column value "0" from 3rd column value "1".
I would really... (0 Replies)
Dear Experts,
I wanted to plot a graph with respect to values from a file.
I'm doing it with Excel 2007, but I want to create the chart in script itself.
I searched in internet for GNUPLOt. But I couldn't understand anything.
Here is my situation. I have a file having values separated by "|".... (7 Replies)
Hello,
I am doing fluid simulations using OpenFOAM. This program produces a lot of output every time step.
Producing output is surely not the most time consuming part, but I wonder whether writing output to the terminal or writing it into a file is faster.
With thousands of time steps a... (1 Reply)
Hi All,
i am in need of plotting graph ( tree structure ) depends upon my shell script output.
For this requirement, what kind of open source avail in market.
For example: (my script output will be like below )
Parent:A
process-name:child-processes
A:B,C
B: D
expecting... (1 Reply)
Hello everyone,
I am trying to label the X axis of a plot, using the Greek letter 'nu' within it.
So I have:
ax.set_xlabel('Energy ($ h \nu $) / eV') all the other Greek letters I have tried work perfectly this way, as in LaTex, but with \nu, apparently it recognizes \n as 'new line' and I end... (2 Replies)