avese 日本語

See your numbers
in color and lines.

avese turns 3D data from numerical simulations and measurements into distribution plots, vector plots, contour plots and bird's-eye views. Drop a text file onto the window and the plot appears.

Free and open source (MIT) / No installation / Windows build provided, other OSes build from source

Home > avese User Guide
Get startedLaunch, load data and draw a plot Plot typesFrom distribution and vectors to bird's-eye and cylindrical Data formatColumns, holes, labels and embedded settings Change settingsColors, ranges, view angles and more Images and videoPNG, BMP, EMF, WMF, and AVI from batch processing Command lineMake images without opening a window

Get started

There is nothing to install. Follow these steps to draw your first plot.

  1. Download the ZIP, extract it and run avese.exe.
  2. Drag and drop a data file onto the window, or use the leftmost toolbar button. If you have no data yet, use flow.txt from the sample data.
  3. Switch on Vectors or Contours in the toolbar and press Redraw. Hover over a button to see its name.
  4. Move the mouse over the plot to read X, Y and Z at that position in the status bar.
Video: overlay vectors and contours, then read values with the mouse (14 s)

Toolbar toggles do not change the plot by themselves. Press Redraw at the end.

The app and the screenshots on this page show the Japanese interface. avese picks Japanese or English from your OS language, so on an English system the same buttons are labeled in English.

The main window

The avese main window: a menu and two toolbar rows on top, the plot in the middle and a status bar at the bottom 1 2 3 4 5 6 7 8
No.AreaButtons
1FileOpen data, save the image, copy to the clipboard
2Plot sizePick width or height as the reference and set the pixel count. Vertical and horizontal scales can be set separately
3ActionsRedraw, reload, settings, help
42D / 3DSwitch between the plan view and the bird's-eye view
5CoordinatesXY (Cartesian) or cylindrical
6Plot typeDistribution, scatter, panel
7OverlaysVectors, contours, axes, grid, data points
8Status barX, Y and Z under the mouse (θ and r in cylindrical coordinates). Not shown in the bird's-eye view

Plot types

Every plot can be switched on from the toolbar or the settings. The images below were made from the sample data with avese. The --set values are what you pass on the command line to get the same plot.

Data format

Data is a text file. Both Shift-JIS and UTF-8 are read. Each line is one data point, and values are separated by spaces, tabs or commas.

# X  Y  Z  U  V
0  0  1.5  0.2  0.1
1  0  1.8  0.3  0.1
2  0  -    0    0

Which column is read as X, Y, Z, U and V can be changed in the I/O tab of the settings. These forms are also available.

SyntaxMeaning
- (in the Z position)Leaves the area around that point blank (white)
Blank lines, lines starting with a symbol or letterSkipped
Labels x,y,textPlaces text at pixel (x, y) of the image, with the origin at the top left. Write it before the numbers. Drawn when Show labels is on
Mesh AutoCreateSplits points that are not on a grid into triangles automatically. Write it before the numbers
A [AVESE.EXE] sectionEmbeds settings as key=value lines. Effective when "Read settings from the data file" is on
IncludeINI "name.ini"Loads another settings file

In cylindrical coordinates X and Y are θ and r, and U and V are the θ and r components. With the panel type, the file is read as a grid of Z values only, and the first line becomes the top of the image.

Embedding settings

[AVESE.EXE]
SEsize=640
CBvector=1
[DATA]
0  0  1.5  0.2  0.1
1  0  1.8  0.3  0.1

Change settings

Open the settings dialog with the Settings button in the toolbar. Press OK to redraw with the new settings.

Video: change the gradient, then reverse it (19 s)
TabContents
LegendShow the legend, set the Z range, gradient type, color count, reversal and folding, legend size
I/OColumn assignment, lines to skip, panel transposition, spline interpolation, data check
LabelsLabel font, and the list of labels added on screen
DisplayMargins, background and foreground colors, fonts for each part
AdvancedSave settings on exit, bitmap size limit, image format
3D ViewHeight, draw as a surface, view angles (η, φ)
DistributionDot size and shape for scatter plots
VectorsThinning, length, color, arrowheads, reference value
ContoursNumber of lines, range, color
Coordinates, GridCoordinate system, line width, arrows, titles, ticks

The data range is shown in read-only fields each time data is loaded. A value you type is used only for items whose "Specify" box is checked. Save settings writes avese.ini next to avese.exe, and it is loaded at the next start.

Gradients

Choose from nine gradients. The default is smooth colors-1. On the command line, use CBtype=0 to 8.

smooth colors-1
smooth colors-2
smooth colors-3
gray-1
gray-2
gray-3
spectral colors-1
spectral colors-2
spectral colors-3

Bird's-eye view

In the 3D View tab of the settings, turn on the bird's-eye view and press OK. Change the viewpoint with the numbers η and φ, or with the sliders next to the preview. The box in the preview moves, so you can check the direction as you adjust.

Video: switch to the bird's-eye view and change the viewpoint (20 s)

Saving and output

Choose the format with the file type in Save Image. If you type a name without an extension, the extension of the chosen type is added.

FormatNotes
PNGGood for the web and documents
BMP256-color bitmap, uncompressed or RLE-compressed
EMF, WMFMetafiles
AVIUncompressed video, made with batch processing
ClipboardSent with Copy. Image Options in the settings chooses bitmap or EMF. Windows only

Batch and video

Select several files, or drop them together, and the Batch Processing dialog opens. It turns the result of each calculation step into numbered images or a video.

The Batch Processing dialog with a file list and buttons for sort, add, delete, create BMP and create AVI
The Batch Processing dialog
  1. Arrange the list with Add, Delete, Sort, ↑ and ↓. Sort compares digits as numbers, so frame2 comes before frame10.
  2. Create BMP saves filename.bmp for each file.
  3. Create AVI makes an uncompressed AVI with one frame per file, in list order. Frame Rate sets the frames per second, and Set Size sets the dimensions.

To keep the color range from changing from frame to frame, set the Z minimum and maximum in the Legend tab. The wave video at the top of this page is fixed to −2 to 2.

Command line

Make images and videos without opening a window. This is handy when you add avese to the post-processing of a calculation.

avese data.txt
avese --render data.txt out.png [--rle] [--ini settings.ini] [--set key=value]...
avese --avi out.avi --fps 10 [--frame-size 640x480] [--ini settings.ini] [--set key=value]... data1.txt data2.txt ...

The output format follows the extension (.png, .bmp, .emf, .wmf). Add --rle to make a .bmp RLE-compressed. Settings are applied in order: the --ini file first, then --set.

Examples

avese --render flow.txt vector.png --set SEsize=520 --set CBvector=1 --set CBskipx=1 --set CBskipy=1 --set EDstepx=4 --set EDstepy=4
avese --avi wave.avi --fps 12 --frame-size 640x480 --set CBenZmin=1 --set EDenZmin=-2 --set CBenZmax=1 --set EDenZmax=2 wave/wave01.txt wave/wave02.txt wave/wave03.txt

Common keys

KeyMeaning
SEsizePlot size in pixels
CBgraph, CBscatter, CBpanelDistribution, scatter, panel (0 or 1)
CBvector, CBtokoVectors, contours (0 or 1)
CBskipx, CBskipy, EDstepx, EDstepyWhether to thin out vectors, and the step
SEtokoNumber of contour lines
CBaxis, CBgrid, CBpoint, CBlegendAxes, grid, data points, legend (0 or 1)
CBland, CBsurface, SElandheight, SEeta, SEphiBird's-eye view, surface, height, view angles
CBtype, CBreverse, CBfoldGradient type (0 to 8), reversal, folding
CBenZmin, EDenZmin, CBenZmax, EDenZmaxFix the Z range

Download

The latest stable release is v1.0.0, for Windows (x64). Extract the ZIP and run avese.exe. No installation is needed.

Release notes and older versions are on GitHub Releases.

On other OSes, install Rust and build from source. The clipboard works on Windows only.

git clone https://github.com/tetsuji16/avese.git
cd avese
cargo build --release

Sample data

samples.zip (about 1 MB) contains the data behind the plots on this page. All of it is generated from formulas; see make_samples.py for how.

FileContents
flow.txtFlow around a cylinder in a uniform stream: pressure coefficient and velocity, with the inside of the cylinder as a hole
peaks.txtA surface with peaks and valleys
polar.txtAn example in cylindrical coordinates
scatter.txt600 points that are not on a grid
panel.txtZ values laid out as a grid, for the panel type
wave/Two interfering wave sources, 24 frames. An example for batch processing and video

About

avese is released under the MIT License. Report problems and find the source code on GitHub. The interface language follows your OS setting, Japanese or English.