Jeremy Sanders | 3 Apr 2011 13:28
Gravatar

Re: Confusion as to how the user feedback/forum structure is supposed to work

Dear John

I've added a new page describing how to get support and report bugs on the 
veusz homepage:

http://home.gna.org/veusz/support/

I hope it is clearer now. I've also discovered there is a blog like 
interface to the mailing list on gmane linked to that page. That does not 
require subscription.

Jeremy

PS I'm shortly going to release 1.11, so if anyone gets a chance please try 
out the release candidate files in http://download.gna.org/veusz/testing/
Jeremy Sanders | 3 Apr 2011 23:09
Gravatar

ANN: Veusz 1.11

I am pleased to announce the release of Veusz 1.11.

Veusz 1.11
----------
Velvet Ember Under Sky Zenith
-----------------------------
http://home.gna.org/veusz/

Copyright (C) 2003-2011 Jeremy Sanders <jeremy@...>
and contributors.

Licenced under the GPL (version 2 or greater).

Veusz is a Qt4 based scientific plotting package. It is written in
Python, using PyQt4 for display and user-interfaces, and numpy for
handling the numeric data. Veusz is designed to produce
publication-ready Postscript/PDF/SVG output. The user interface aims
to be simple, consistent and powerful.

Veusz provides a GUI, command line, embedding and scripting interface
(based on Python) to its plotting facilities. It also allows for
manipulation and editing of datasets. Data can be captured from
external sources such as internet sockets or other programs.

Changes in 1.11:
  * New data point picker for finding coordinates of points on plot
    (contributed by B.K. Stuhl)
  * New data navigator window for filtering, sorting and examining
    dataset statistics
  * ".." button next to dataset settings pops up data navigator for
(Continue reading)

Jeremy Sanders | 11 Apr 2011 22:48
Gravatar

Veusz Ubuntu daily builds

If you're interested in following the latest Veusz development on 
Ubuntu, I've managed to set up a daily builds repository. If you add 
this PPA you should get the latest features and bug fixes:

https://launchpad.net/~jeremysanders/+archive/veuszdaily

It's only available on Ubuntu Maverick currently. You'll probably want 
to remove the standard PPA if you are using the daily one.

I'm investigating Windows daily builds, but that seems to be quite a 
pain to do - lots of messing around with virtual machines.

Jeremy
Vishnu Vardhan | 12 Apr 2011 05:56
Picon

Help with the data importing and 'key' issue

Hi,

I just found out about this application yesterday and I'm loving the neatness and simplicity of this so far. I did work on it for some time so far. But I'm am stuck at some parts, thought I'd post my query in the support forum.

I am handling over 20 - 30 excel files each of approximately 20x2000 data. Sometimes I need to compare (say column a vs. b) from multiple sheets. For this I need to be able to handle importing data from multiple sheets. Following are the two main rather simple issues (I hope) I'm having problem with

  • How to import data from 2 or more excel files?


As shown in the above picture (inserted an image while sending mail), I imported data from test.csv file at first and was working with it. On this same plot I also need to work with data from other file. But when I try to import data from other .csv file, the one that is stored currently is getting replaced with the one I'm importing newly. How do I fix this and import data from multiple excel files?

  • Legend/Key of the graph
Another issue I'm facing is that inserting legend/key of the plot. Please correct me if I am wrong, I understand the inserting 'key' is the way to go, in order to add legend to the plot. This is how (inserted an image in the mail) different panels look for me upon using the 'insert key' option.



I see no options to work on in the properties panel when I selected the 'key' element. Does this seem okay or am I doing something wrong? Because, I can go through the pain of modifying my .csv files for my required plot. But having this neat plots without legend is something that's bothering. Please help me with this.

As it sounds, I think I might be doing little wrong somewhere. Appreciate any help/suggestions regarding these.
_______________________________________________
Veusz-discuss mailing list
Veusz-discuss@...
https://mail.gna.org/listinfo/veusz-discuss
McMnoyxz | 12 Apr 2011 06:05
Picon

Re: Help with the data importing and 'key' issue

Looks like images are not shown in the forum. So I've uploaded them separately.
Please find the links here.

First image re: data import issue http://i.imgur.com/4gKRy.jpg

Second image re: legend/key of the plot issue http://i.imgur.com/Lpjq2.jpg
Vishnu Vardhan | 12 Apr 2011 08:51
Picon

Re: Help with the data importing and 'key' issue

Update:

Figured out what I was doing wrong with in both cases. No need for any of you to
go through this long mail.

Loving it so far.

Cheers sir!
Jeremy Sanders | 12 Apr 2011 15:07
Gravatar

Re: Help with the data importing and 'key' issue

Vishnu Vardhan wrote:

> Update:
> 
> Figured out what I was doing wrong with in both cases. No need for any of
> you to go through this long mail.
> 
> Loving it so far.

I'm glad you worked it out! The documentation could do with some improvement 
however.

Jeremy
Steve M. Robbins | 18 Apr 2011 06:20
Picon

how to access Python variables in plot function?

Hi,

Just discovered veusz after it was packaged and uploaded to Debian.  I
really like the GUI.

I've read the manual but can't figure out how to access Python
variables in the plot functions.  For example, I'd like to plot
"sin(x + offset)" where offset is a variable.

What I'm actually trying to accomplish is to create a display like
that shown in http://en.wikipedia.org/wiki/Phasor, except the sine
wave is horizontal.  As a first step, I tried to create a static page
with the two plots at a given offset (30 degrees).

Using the GUI, I created the attached file page-1.  Then I tried
editing to produce attached file page-2, but to no avail.  Is there
documentation or examples showing the python interface?

Thanks,
-Steve

# Veusz saved document (version 1.10)
# User: steve
# Date: Mon, 18 Apr 2011 03:59:28 +0000

AddImportPath(u'/home/steve')
Add('page', name='page1', autoadd=False)
To('page1')
Add('grid', name='grid1', autoadd=False)
To('grid1')
Set('hide', False)
Set('rows', 1)
Set('scaleRows', [])
Set('scaleCols', [])
Add('polar', name='polar1', autoadd=False)
To('polar1')
Set('leftMargin', '0cm')
Set('rightMargin', '0cm')
Set('topMargin', '0cm')
Set('bottomMargin', '0cm')
Set('Border/style', u'dot2')
Set('TickLabels/hideradial', True)
Set('TickLabels/hidetangential', True)
Set('Tick/hide', True)
Add('nonorthfunc', name='nonorthfunc1', autoadd=False)
To('nonorthfunc1')
Set('function', u'30')
Set('variable', u'a')
To('..')
To('..')
Add('graph', name='graph1', autoadd=False)
To('graph1')
Set('hide', False)
Set('leftMargin', '0cm')
Set('rightMargin', '0cm')
Set('topMargin', '0cm')
Set('bottomMargin', '0cm')
Set('Border/color', u'black')
Set('Border/hide', True)
Add('axis', name='x', autoadd=False)
To('x')
Set('max', 6.2831853071800001)
Set('direction', u'horizontal')
Set('lowerPosition', 0.0)
Set('upperPosition', 1.0)
Set('otherPosition', 0.0)
To('..')
Add('axis', name='y', autoadd=False)
To('y')
Set('direction', 'vertical')
To('..')
Add('function', name='function1', autoadd=False)
To('function1')
Set('function', u'sin(x+30.0/180.0*pi)')
To('..')
To('..')
Add('graph', name='graph2', autoadd=False)
To('graph2')
Set('hide', True)
Add('axis', name='x', autoadd=False)
Add('axis', name='y', autoadd=False)
To('y')
Set('direction', 'vertical')
To('..')
To('..')
Add('graph', name='graph3', autoadd=False)
To('graph3')
Set('hide', True)
Add('axis', name='x', autoadd=False)
Add('axis', name='y', autoadd=False)
To('y')
Set('direction', 'vertical')
To('..')
To('..')
To('..')
To('..')
# Veusz saved document (version 1.10)
# User: steve
# Date: Mon, 18 Apr 2011 03:39:40 +0000

offset = 30.0 * (pi/180.0)

AddImportPath(u'/home/steve')
Add('page', name='page1', autoadd=False)
To('page1')
Add('grid', name='grid1', autoadd=False)
To('grid1')
Set('hide', False)
Set('rows', 1)
Set('scaleRows', [])
Set('scaleCols', [])
Add('polar', name='polar1', autoadd=False)
To('polar1')
Set('leftMargin', '0cm')
Set('rightMargin', '0cm')
Set('topMargin', '0cm')
Set('bottomMargin', '0cm')
Set('Border/style', u'dot2')
Set('TickLabels/hideradial', True)
Set('TickLabels/hidetangential', True)
Set('Tick/hide', True)
Add('nonorthfunc', name='nonorthfunc1', autoadd=False)
To('nonorthfunc1')
Set('function', offset)
Set('variable', u'a')
To('..')
To('..')
Add('graph', name='graph1', autoadd=False)
To('graph1')
Set('hide', False)
Set('leftMargin', '0cm')
Set('rightMargin', '0cm')
Set('topMargin', '0cm')
Set('bottomMargin', '0cm')
Set('Border/color', u'black')
Set('Border/hide', True)
Add('axis', name='x', autoadd=False)
To('x')
Set('max', 6.2831853071800001)
Set('direction', u'horizontal')
Set('lowerPosition', 0.0)
Set('upperPosition', 1.0)
Set('otherPosition', 0.0)
To('..')
Add('axis', name='y', autoadd=False)
To('y')
Set('direction', 'vertical')
To('..')
Add('function', name='function1', autoadd=False)
To('function1')
Set('function', u'sin(x+offset)')
To('..')
To('..')
Add('graph', name='graph2', autoadd=False)
To('graph2')
Set('hide', True)
Add('axis', name='x', autoadd=False)
Add('axis', name='y', autoadd=False)
To('y')
Set('direction', 'vertical')
To('..')
To('..')
Add('graph', name='graph3', autoadd=False)
To('graph3')
Set('hide', True)
Add('axis', name='x', autoadd=False)
Add('axis', name='y', autoadd=False)
To('y')
Set('direction', 'vertical')
To('..')
To('..')
To('..')
To('..')
_______________________________________________
Veusz-discuss mailing list
Veusz-discuss@...
https://mail.gna.org/listinfo/veusz-discuss
Jeremy Sanders | 18 Apr 2011 11:03
Gravatar

Re: how to access Python variables in plot function?

Steve M. Robbins wrote:

> I've read the manual but can't figure out how to access Python
> variables in the plot functions.  For example, I'd like to plot
> "sin(x + offset)" where offset is a variable.
> 
> What I'm actually trying to accomplish is to create a display like
> that shown in http://en.wikipedia.org/wiki/Phasor, except the sine
> wave is horizontal.  As a first step, I tried to create a static page
> with the two plots at a given offset (30 degrees).
> 
> Using the GUI, I created the attached file page-1.  Then I tried
> editing to produce attached file page-2, but to no avail.  Is there
> documentation or examples showing the python interface?

Hi - thanks for the question. The manual should have most of python 
interface documented. You can also look at the saved files for guidance. The 
documentation could be improved however.

There's also a more object-oriented new interface which is nicer to use, 
with some documentation here: http://barmag.net/veusz-wiki/EmbeddingPython

Veusz doesn't have direct access to Python variables, but you could either 
change the function to incorportate the variable, or define a constant which 
you use in the function.

With the new style API, you can change the function doing something like
Root.page1.graph1.function1.function.val = 'sin(3*x+%g)' % offset

Alternatively, you can use "offset" in your function and redefine it with 
the AddCustom command (accessed via Edit->Custom Definitions in GUI):

AddCustom('constant', 'offset', str(offset))

Jeremy
Sergei Ossokine | 18 Apr 2011 19:09
Picon

Hiding objects/ feature request

Hi All! First off, I really love Veusz - it is powerful and produces really high-quality output. I also really enjoy the fact that it is written in Python as that is my language of choice.


I've been playing around with for the last few days and I am unable to figure out how to make the following happen: suppose I have 2 data sets with different ranges in say the vertical axis. Then I use the "Hide object" option to hide one of them. Is there any way for the vertical axis to now be scaled to fit only the visible data set? This is what happens under similar circumstances in xmgrace and I was wondering if it can happen here.  

Also, I was wondering if it is possible to use the new object-oriented approach to create graphs not only from the embedding python interface but also from a .vsz file itself.
Thanks,
Sergei
_______________________________________________
Veusz-discuss mailing list
Veusz-discuss@...
https://mail.gna.org/listinfo/veusz-discuss

Gmane