Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Plotter
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Languages== A number of [[printer control language]]s were created to operate pen plotters, and transmit commands like "lift pen from paper", "place pen on paper", or "draw a line from here to here". Three common [[ASCII]]-based plotter control languages are [[Hewlett-Packard]]'s [[HP-GL]], its successor HP-GL/2, and [[Houston Instruments]] [[DMPL]]. Here is a simple HP-GL script drawing a line: <pre> SP1; PA500,500; PD; PR0,1000; PU; SP; </pre> This program instructs the plotter, in order, to take the first pen (SP1 = Select Pen 1), to go to coordinates X=500, Y=500 on the paper sheet (PA = Plot Absolute), to lower the pen against the paper (PD = Pen Down), to move 1000 units in the Y direction (thus drawing a vertical line - PR = Plot Relative), to lift the pen (PU = Pen Up) and finally to put it back in its stall. Programmers using [[Fortran|FORTRAN]] or [[BASIC]] generally did not program these directly, but used software packages, such as the Calcomp library, or [[device independent]] graphics packages, such as Hewlett-Packard's [[A Graphics Language|AGL]] libraries or BASIC extensions or high end packages such as [[DISSPLA]]. These would establish scaling factors from world coordinates to device coordinates, and translate to the low level device commands. For example, to plot X*X in [[HP 9830]] BASIC, the program would be <syntaxhighlight lang=BASIC> 10 SCALE -1,1,1,1 20 FOR X = -1 to 1 STEP 0.1 30 PLOT X, X*X 40 NEXT X 50 PEN 60 END </syntaxhighlight> [[File:Video of plotter marking on the samples.ogv|thumb|Label plotter]]
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Plotter
(section)
Add topic