For faster navigation, this Iframe is preloading the Wikiwand page for HPGL.

HPGL

El HPGL (Hewlett & Packard Graphics Language) es en lenguaje de descripción de gráficos, diseñado originariamente para el control de Plotters (trazadores gráficos).

El HPGL tiene una segunda versión, el HPGL/2, con más instrucciones y que funciona con unidades métricas, mientras que el HPGL funciona con el Sistema Anglosajón de Unidades.

Sumario de instrucciones

  • SC Coordenadas lógicas de las esquinas del papel P1, P2
  • ETX 0x03: Terminador de cadena
  • ; Separador de instrucciones
  • IN Initialize: Devuelve a los parámetros su valor por defecto.
  • DF Defaults: Da a los parámetros sus valores por defecto, pero sin cambiar P1 ni P2
  • SC Scale: Escala el gráfico SCx0,x1,y0,y
  • IP Input Points: Da las coordenadas físicas a P1 y P2. Si x2,y2 no existen, P2 se cambia para mantener la escala. IPx1,y1[,x2,y2]
  • IW Input Window: Rectángulo donde se aplicará el clipping. IW sin argumentos inhibe el clipping. IW[x0,y0,x1,y1]
  • RO Rotate: ROa0
  • PG Page: Fin de página
  • SP Select Pen SPnp
  • PU Pen Up: Levanta la pluma y se desplaza a los puntos especificados PU[x1,y1[,x2,y2[...]]]
  • PD Pen Down: Baja la pluma y traza segmentos hasta los puntos especificados. Las coordenadas son absolutas o relativas según el último PA o PR ejecutado. PD[x1,y1[,x2,y2[...]]]
  • PA Plot Absolute: Mueve la pluma a la(s) nuevas posiciones PA[x1,y1[,x2,y2[...]]]
  • PR Plot Relative: Realiza desplazamientos relativos de la pluma. PR[x1,y1[,x2,y2[...]]]
  • LT Line Type: Tipo de línea LTn (Por defecto se traza una línea continua: n=0)
n Tipo de línea Muestra
0 Línea continua _________
1 De puntos . . . . . .
2 Trazos cortos - - - - - -
3 Trazos largos _ _ _ _ _
4 Punto y raya ·-·-·-·-·-
5 Raya corta y larga -_-_-_-_-_
6 - - - -
99 Estilo anterior
n<0 El estilo se ajusta a la longitud de la línea
  • SM Symbol Mode: Dibuja el carácter c al final de cada línea, aún con PU. Si c se omite, se inhibe el SM. SM[c]
  • PE Plot Encoded
  • AA Arc Absolute: Dibuja un arco centrado en (x, y), de a grados en sentido antihorario desde la posición del cursor. AAx,y,a
  • AR Arc Relative
  • CI Circle: Dibuja un círculo de radio r y con centro en la posición previa. Siempre se dibuja con la pluma abajo. Si de indica el ángulo, se dibujan polígonos. Si a=60, se dibujan exágonos. CIr[,a]
  • PM Polygon Mode PM[n]

Véase también

{{bottomLinkPreText}} {{bottomLinkText}}
HPGL
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?