OctPlot iconOctPlot 0.4.0

OctPlot is an application that can handle graphics package for Octave, the Free alternative to matlab.
OctPlot is an application that can handle graphics package for Octave, the free alternative to matlab. OctPlot provides quality postscript and screen graphics.

OctPlot is free open source software under the terms of the GNU General Public License (GPL).

Requirements:

octave >= 2.1.50
octave-forge >= 2004.07.07 (uses dispatch, addpath, rmpath, colormaps)
fltk >= 1.1.4
freetype >= 9.0.3
ghostscript if you want pdf,png and jpg hardcopy. Otherwise you are stuck with eps/ps only

INSTALLATION:

You can control what the install directories are using the following options:

--with-path: the install path prefix (rarely needed)
--with-mpath: where toggle_octplot.m goes (this should lie in Octave's
LOADPATH)
--with-opath: where octplot's .oct files go (this should *not* lie in
Octave's LOADPATH)
--with-octplotmpath: where octplot's .m files go (this should *not* lie in
Octave's LOADPATH)
--with-fontpath: where octplot's font files go

./configure && make && make install
is the way to go.

there are some nice demos in the demos directory.

EXAMPLES:

Example script:

############################################
## first, setup octplot
octplot_enable

## simple sin with line property settings & xtic control
t=(0:10000)/10000*2*pi;
h=plot(t,sin(t),"b-;sin;");
title("simple sin");
xlabel("t [pi]");
ylabel("sin(t)");
axis([0 2*pi -1 1]);
set(gca(),"xtick",(0:0.5:2)*pi);
set(gca(),"xticklabel","0|pi/2|pi|3pi/2|2pi");

## change line style and add markers -- might be slow since there are
## 1e4 data points
set(h,"linestyle","-","marker","o");
## change legend location NEW in 0.3.1
legend("Location","SouthWest");

## now add some coloured rotated text
## NEW in 0.2.5
text(0.1,0,"Rotated","fontsize",24,"rotation",25,"color","m");
## now make hardcopy, first eps, than png, than pdf (the last two require ghostscript)
print("demo.eps");
## NEW in 0.2.5
print("demo.png","-dpng");
## NEW in 0.2.5
print("demo.pdf","-dpdf");

###############################################
## freqz plot (requires octave-forge for butter.m)
## shows off subplots
[b,a]=butter(5,[0.4,0.6],"stop");
freqz(b,a);

##############################################
## simple contourf plot
clf();
[x,y]=meshgrid(-2:.2:2, -2:.2:3);
z = x.*exp(-x.^2 - y.^2);
colormap(hot);
contourf(x,y,z);
grid("on");

##############################################
## contour plot with labels
clf();
[x,y]=meshgrid(-2:.2:2, -2:.2:3);
z = x.*exp(-x.^2 - y.^2);
colormap(hot);
[c,h] = contour(x,y,z,-0.4:0.1:0.4);
clabel(c,h);

##############################################
## simple pseudocolor plot
clf();
[x,y]=meshgrid(-2:.2:2, -2:.2:3);
z = x.*exp(-x.^2 - y.^2);
pcolor(x,y,z);
colormap(jet);
grid("on");

try zooming using the left mouse button, zoom-out using the right
mouse button, double click to transfer current mouse coords to
clipboard. press "g" to toggle grid

for help on object properties try:
help figure_props
help axes_props
help line_props
help text_props
help surface_props
help patch_props
help legend_props

What's New in This Release:

New features
patches can now be concave. patch color can be specified per-vertex
improved contouring: contourf & clabel
figure handles are now integers corresponding to the figure number
files now install in better directories. Mac builds should work out of the box
rendering of surface objects can now be done in shading faceted, interp and flat (see help shading), also surface can use alpha channel (note: this is screen only -- hardcopy does not support alpha)
octplot should now compile under MSVC
caxis (see help caxis)

Notable bug fixes

layering is now done in the correct order
clf will not create a new axes
arrows are now drawn much more efficiently
speedup of configure script
improved and debugged bar/barh
successive calls to colorbar will not add new colorbars!
__contourc__ will now not split single contours into multiple lines

last updated on:
January 28th, 2008, 16:57 GMT
price:
FREE!
developed by:
OctPlot Development Team
license type:
GPL (GNU General Public License) 
category:
ROOT \ Science and Engineering \ Mathematics

FREE!

In a hurry? Add it to your Download Basket!

user rating 14

UNRATED
3.2/5
 

0/5

3 Screenshots
OctPlotOctPlotOctPlot

Add your review!

SUBMIT