Diferencia entre revisiones de «Gnuplot»
De gacq wiki
(→Documentation) |
(→Operators) |
||
(No se muestran 4 ediciones intermedias del mismo usuario) | |||
Línea 1: | Línea 1: | ||
=Documentation= | =Documentation= | ||
*[http://www.gnuplot.info/ gnuplot homepage] | *[http://www.gnuplot.info/ gnuplot homepage] | ||
+ | **[http://www.gnuplot.info/docs/gnuplot.html Master Menu] | ||
*[http://gnuplot.sourceforge.net/demo/ Demo scripts for gnuplot version 4.0] | *[http://gnuplot.sourceforge.net/demo/ Demo scripts for gnuplot version 4.0] | ||
*[http://wiki.gleducar.org.ar/wiki/Manual_gnuplot Manual gnuplot] | *[http://wiki.gleducar.org.ar/wiki/Manual_gnuplot Manual gnuplot] | ||
*[http://nucl.sci.hokudai.ac.jp/~ohnishi/gnuplot.html Akira Ohnishi: Library -- Gnuplot Examples] | *[http://nucl.sci.hokudai.ac.jp/~ohnishi/gnuplot.html Akira Ohnishi: Library -- Gnuplot Examples] | ||
*http://www.gnuplot.info/faq/faq.html | *http://www.gnuplot.info/faq/faq.html | ||
+ | |||
+ | =Operators= | ||
+ | (*) Starred explanations indicate that the operator requires integer arguments. | ||
+ | ==Unary== | ||
+ | <pre><nowiki> | ||
+ | The following is a list of all the unary operators and their usages: | ||
+ | |||
+ | Symbol Example Explanation | ||
+ | - -a unary minus | ||
+ | + +a unary plus (no-operation) | ||
+ | ~ ~a * one's complement | ||
+ | ! !a * logical negation | ||
+ | ! a! * factorial | ||
+ | $ $3 * call arg/column during using manipulation | ||
+ | </nowiki></pre> | ||
+ | |||
+ | ==Binary== | ||
+ | <pre><nowiki> | ||
+ | The following is a list of all the binary operators and their usages: | ||
+ | |||
+ | Symbol Example Explanation | ||
+ | ** a**b exponentiation | ||
+ | * a*b multiplication | ||
+ | / a/b division | ||
+ | % a%b * modulo | ||
+ | + a+b addition | ||
+ | - a-b subtraction | ||
+ | == a==b equality | ||
+ | != a!=b inequality | ||
+ | < a<b less than | ||
+ | <= a<=b less than or equal to | ||
+ | > a>b greater than | ||
+ | >= a>=b greater than or equal to | ||
+ | & a&b * bitwise AND | ||
+ | ^ a^b * bitwise exclusive OR | ||
+ | | a|b * bitwise inclusive OR | ||
+ | && a&&b * logical AND | ||
+ | || a||b * logical OR | ||
+ | </nowiki></pre> | ||
+ | |||
+ | ==Ternary== | ||
+ | <pre><nowiki> | ||
+ | There is a single ternary operator: | ||
+ | |||
+ | Symbol Example Explanation | ||
+ | ?: a?b:c ternary operation | ||
+ | </nowiki></pre> | ||
=3D graph= | =3D graph= |
Revisión actual del 18:44 30 nov 2006
Contenido
Documentation
- gnuplot homepage
- Demo scripts for gnuplot version 4.0
- Manual gnuplot
- Akira Ohnishi: Library -- Gnuplot Examples
- http://www.gnuplot.info/faq/faq.html
Operators
(*) Starred explanations indicate that the operator requires integer arguments.
Unary
The following is a list of all the unary operators and their usages: Symbol Example Explanation - -a unary minus + +a unary plus (no-operation) ~ ~a * one's complement ! !a * logical negation ! a! * factorial $ $3 * call arg/column during using manipulation
Binary
The following is a list of all the binary operators and their usages: Symbol Example Explanation ** a**b exponentiation * a*b multiplication / a/b division % a%b * modulo + a+b addition - a-b subtraction == a==b equality != a!=b inequality < a<b less than <= a<=b less than or equal to > a>b greater than >= a>=b greater than or equal to & a&b * bitwise AND ^ a^b * bitwise exclusive OR | a|b * bitwise inclusive OR && a&&b * logical AND || a||b * logical OR
Ternary
There is a single ternary operator: Symbol Example Explanation ?: a?b:c ternary operation
3D graph
set contour base set isosamples 40,40 splot (sin(x)*sin(y))/(x*y)
Varios
Varios graficos en uno
set multiplot
clear
Ver los ejes de coordenadas
set zeroaxis set xtics axis set ytics axis