How to install Veusz on Ubuntu 17.04

How to install Veusz on Ubuntu 17.04

Veusz is a cross-platform scientific plotting package. It is a Qt application written in Python, PyQt and NumPy designed to produce publication-quality plots. This application produces plots in vector formats like PDF, PostScript and SVG. This tutorial covers the installation procedure of Veusz in Ubuntu 17.04.

Installation procedure

To start the installation procedure, add the repo by executing the following command.

root@linuxhelp1:~# add-apt-repository ppa:jeremysanders/ppa
 Builds of the Veusz scientific plotting package, https://veusz.github.io/
 More info: https://launchpad.net/~jeremysanders/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox ' /tmp/tmpunijkwfh/pubring.gpg'  created
gpg: /tmp/tmpunijkwfh/trustdb.gpg: trustdb created
gpg: key CE2D2F8F9D5904BC: public key " Launchpad PPA for Jeremy Sanders"  imported
gpg: Total number processed: 1
gpg:               imported: 1
OK

The repositories have been added to the target system. Update the repo by executing the apt-get update command.

root@linuxhelp1:~# apt-get update
Get:1 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB]                  
Get:2 http://ppa.launchpad.net/jeremysanders/ppa/ubuntu zesty InRelease [15.4 kB]           
Hit:3 http://in.archive.ubuntu.com/ubuntu zesty InRelease                                   
Get:4 http://in.archive.ubuntu.com/ubuntu zesty-updates InRelease [89.2 kB]                 
Get:5 http://ppa.launchpad.net/jeremysanders/ppa/ubuntu zesty/main amd64 Packages [1,044 B] 
Get:6 http://ppa.launchpad.net/jeremysanders/ppa/ubuntu zesty/main i386 Packages [1,044 B]  
Get:7 http://security.ubuntu.com/ubuntu zesty-security/main amd64 Packages [71.9 kB]        
Get:8 http://ppa.launchpad.net/jeremysanders/ppa/ubuntu zesty/main Translation-en [600 B]   
Get:9 http://in.archive.ubuntu.com/ubuntu zesty-backports InRelease [89.2 kB]               
Get:10 http://security.ubuntu.com/ubuntu zesty-security/main i386 Packages [70.1 kB]
Get:11 http://security.ubuntu.com/ubuntu zesty-security/main Translation-en [31.7 kB]
Get:12 http://security.ubuntu.com/ubuntu zesty-security/main amd64 DEP-11 Metadata [5,816 B]
Get:13 http://security.ubuntu.com/ubuntu zesty-security/main DEP-11 64x64 Icons [5,289 B]
Get:14 http://security.ubuntu.com/ubuntu zesty-security/restricted amd64 Packages [2,168 B]
.
.
Fetched 1,207 kB in 4s (271 kB/s)                                       
Reading package lists... Done

The target system is successfully updated with the required repositories. Install the Veusz package in the system and execute the following command.

root@linuxhelp1:~# apt-get install veusz
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  libblas-common libblas3 libgfortran3 liblapack3 libqt4-designer libqt4-help
  libqt4-scripttools libqt4-svg libqt4-test libqtassistantclient4 python-numpy python-qt4
  python-sip veusz-helpers
Suggested packages:
  gfortran python-dev python-nose python-numpy-dbg python-numpy-doc python-qt4-dbg
  python-h5py python-pyfits
The following NEW packages will be installed:
  libblas-common libblas3 libgfortran3 liblapack3 libqt4-designer libqt4-help
  libqt4-scripttools libqt4-svg libqt4-test libqtassistantclient4 python-numpy python-qt4
  python-sip veusz veusz-helpers
0 upgraded, 15 newly installed, 0 to remove and 96 not upgraded.
Need to get 12.0 MB of archives.
After this operation, 50.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
.
.
Setting up veusz (1.26.1-0~ppa2~zesty1) ...
Processing triggers for libc-bin (2.24-9ubuntu2) ...

Once the package is installed, open the Ubuntu dashboard and type the package name. Click on the icon to run the application.
That was an easy installation procedure, wasn' t it? The Veusz is extensible with Python plugins that can be added for importing data in other formats.

Tag : Ubuntu Veusz
FAQ
Q
How do you hide the lines and boxes which allow the current widget to be resized?
A
You can unselect the currently selected widget by holding down the control key and clicking on the widget in the widget list.
Q
What does the name mean?
A
It doesn't mean very much, however, I have chosen the semi-"poetic" meaning of Velvet Ember Under Sky Zenith as I am an astronomer. The name was also chosen because it sounds like Views and it didn't exist in Google.
Q
Veusz is too slow - what can I do?
A
Some (small) speed problems come from the fact that Veusz is written in Python, which can be a relatively slow language. Veusz is often faster than other Python-based plotting packages, however. Other speed issues are due to the Qt library itself. Veusz can be slow with antialiasing switched on and lots of points plotted. Qt uses antialiasing to smooth the appearance of the plot on the screen. Right-click on the plot or go to the Preferences dialog box to disable antialiasing.
Q
How do you create stepped plots or histograms?
A
The plot your data using a normal "my" point plotting component. Choose "left", "centre" or "right" for the "Steps" option in the Plotline formatting tab. The different options choose between plotting the steps to the left, right or centered around the points.
Q
How to install Veusz on Ubuntu/Fedora?
A
execute the following command:
# apt-get install veusz