# Introduction

What’s EpsTk ?

(see logo.png)

It’s a set of graphical output functions for Octave and Matlab® written by stefan..nosp@m.mueller@fhr.frau.nosp@m.nhofer.de.

This toolkit is a solution of my big problem that I had 1997.

I needed graphical output functions for programs which ran with

Octave (a freeware Matlab-clone on Unix(Linux)-sytems) and Matlab.

But I could not find any tool in the internet. So, I wrote this tool myself.

The toolkit consists of some matlab functions, which generate graphical

outputs with postscript commands.

To convert the generated postscript files in bitmap formats you can use

a postcript interpreter like Ghostscript (freeware for all systems).

Downloads on http://www.epstk.de

Summary

Introduction | What’s EpsTk ?
Features |
Difference to version 2.3 |
Requirements |
Installation |
Testing |
Write ‘hello world’ program |
Write simple plot program |
Thanks | Thanks to Coletta Schumacher, Jörg Heckenbach, Josef Worms, Gerd Krämer,

### Features

- MATLAB®-Code(4.3) with graphical output functions runs in Matlab and Octave
- All functions are pure m-files
- Most 2D scientific graphics functions are written
- Modifications and extensions are no problem
- Generated EPS-files are very small and importable with no loss of quality
- WYSIWYG (with Ghostview or a Browser)
- Freeware (GPL)

### Difference to version 2.3

- new function ecolor2gray added
- linewidth bug fixed
- scale bug fixed

### Requirements

- Matlab (>3.x) or Octave (>2.x)
- Ghostscript
- Browser (eg. Firefox)

### Installation

- Include the epstk-mFile-directory in the octave-path or matlab-path
- Edit file ‘einit.m’ in epstk-directory to set the Parameter ‘ePath’, ‘ePsdPath’, ‘eDocUrl’, ‘eBrowser’, ‘eGhostscript’ and if you need ‘eGhostview’,.

### Testing

- Start matlab or octave
- Start ‘edemos’ or the single samples:’edemo1’(Simple plot), ‘edemo2’(Standard plot), ... ,’edemo17’(Encoded text) If all demos works, epstk should be ok.

### Write ‘hello world’ program

#### Type the next line in octave or matlab !

>     eopen;etitle('hello world');eclose;eview

### Write simple plot program

>     eopen;eplot(rand(100));eclose;eview

### Thanks

Thanks to Coletta Schumacher, Jörg Heckenbach, Josef Worms, Gerd Krämer,

Thomas Weber, Nicolas Korber and Dirk Eddelbuettel.

convert colormap to graymap
Close