|Michigan Tech's Open Sustainability Technology Lab.|
Using Veusz to Create Scientific Plots[edit | edit source]
This page describes how to use Veusz to create scientific plots. Veusz is required.
Introduction[edit | edit source]
Veusz, pronounced "views", is a free and open source scientific plotting software that was written in Python. This software prepares professional looking plots that can be readily submitted to scientific journals. Examples of the types of plots that can be prepared using Veusz can be found here.
Downloads[edit | edit source]
Advantages[edit | edit source]
- It's free
- It runs on a number of systems
- It's ideally suited to handling and manipulating scientific data
- Veusz can export files as EPS, PDF, SVG, or bitmap formats directly. This is nice because you can't easily do this with Microsoft Excel and some journals require these file formats.
- More formatting features and options compared to Microsoft Excel. This provides you with more freedom in data manipulation and expression.
Disadvantages[edit | edit source]
- Veusz is not capable of producing 3-D plots
- Learning curve to becoming familiar with the user interface
Tutorials and Instructions[edit | edit source]
This section will grow and develop as we become more familiar with Veusz.
Tutorials and Resources[edit | edit source]
A great introductory video provides you with a simple tour around Veusz. This video introduces you to the user interface and shows you how to create a simple plot in Veusz.
Veusz also has a great built-in interactive tutorial. To access this tutorial open Veusz. Click the "help" button and click on the "tutorial" button. This opens up an interactive Veusz window that will take you step-by-step through the program features.
Importing Data into Veusz[edit | edit source]
Often it may be more convenient to collect data in a program other than Veusz, such as Microsoft Excel. Veusz can import data from the following formats: txt, csv, fits, 2D, or other formats (if you write a plug-in to allow this). If you collect your data in Microsoft Excel or another program, be sure to export the data into one of these allowable file formats. One thing to keep in mind is that Veusz will link to the original dataset file. If changes are made within the original file, this will change your Veusz file also. There are options to remove this feature when importing data.
To import data:
1. Open the Veusz program.
2. Click the "data" tab at the top of the screen.
3. Click the "import" button.
4. Choose the file format and file that you would like to import.
5. Adjust the format of the data import (column and row settings).
6. Choose whether or not to link your original data file with the Veusz file by selecting or de-selecting "Link datasets to file".
7. Click the "import" button.
Plotting in Veusz[edit | edit source]
There are a huge amount of plotting options in Veusz. One of the best things you can do to figure out how to create and format plots is to open one of the example files. To do this, click the "help" menu. Hover the mouse over the "example documents" tab to open the menu and choose the relevant document. For instance if you want to make a grouped bar chart, you should click on the "bar options" or "bar labels" documents. The built-in tutorials and the Wiki are also great resources for this sort of information.
Exporting Images from Veusz[edit | edit source]
Veusz can export plots in a variety of formats: bmp, emf, eps, jpg, pdf, png, svg, tiff, and xpm. Many journals require you to submit graphs and other images with a certain dpi. To change the dpi and other export preferences, click the "edit" tab and the "preferences" button within. In the dialogue box that opens, click on the "export" tab. This dialogue box allows you to increase the dpi and quality of your plot images. If you need to increase your image dpi above 300, you will need to import the image into Gimp. It's usually best to export the image from Veusz in the highest dpi possible before importing the image into Gimp for further manipulation.
To export images from Veusz:
1. Click the "file" tab button.
2. Click the "export" button.
3. Choose your file destination, input a file name, and change the file type.
4. Click "save" when finished.