FAQ: Difference between revisions

742 bytes removed ,  3 December 2012
Line 433: Line 433:
     octave:4> pi
     octave:4> pi
     pi = 3.1416
     pi = 3.1416
==How do I vary the line thickness?==
* There's plpot_octave, but the one in debian doesn't work for me.
* Here's my octave hack for it--- http://gnufans.net/~deego/pub/octave/plot_width.m This one simply draws the line multiple times.
* You can edit the .eps file manually or using sed and awk.
* Export the graph as fig file (gset term fig thickness 2). This also allows for easy postediting with xfig and export to formats not supported by gnuplot.
* The gplot command of octave does not support gnuplot's linewidth parameter Thus you must use the graw() function for sending this option directly to gnuplot, eg.
graw('replot "" notitle with lines lw 4\n');
*Search the [http://octave.1599824.n4.nabble.com/ octave archives] for more.


==How do I call an octave function from C++?==
==How do I call an octave function from C++?==