# Introduction

What’s EpsTk ?

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 view and print the generated postscript files you can use

Ghostscript or Ghostview (freeware for all systems).

Downloads on http://www.epstk.de

Summary

Introduction | What’s EpsTk ?
Features |
Difference to version 2.2 |
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.2

- eps2HTML-functions (ehtmlnew, ehtmladdtxt, ehtmladdeps)
- eview with internet browser (postscript viewer not necessary)
- pfa-font-file integration with edfont
- bugs removed

### 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,

Nicolas Korber and Dirk Eddelbuettel.

create new html file
add text to exist html file
add EPS-file to exist HTML-file
show eps-file
define and load own postscript font
Close