|
From: Tilman B. <th...@gm...> - 2008-07-21 21:15:33
|
Hi!
> First of all: I'm very new to SciDavis- I used Qtiplot a bit. Now, I
> want to start scripting in Python. I'm using SciDAVis 0.1.3 on Ubuntu
> 8.04.
>
> Maybe a stupid question- but is there an analogon to the
>
> t.setColumnRole(col, role) command
> that I found in the Qtiplot manual?
1) That's no stupid question.
2) The answer is no, currently there is no analogon. The corresponding
functions are not exported to Python at the moment.
They will be in version 0.2.0, which will be released, well, when it's done.
Then the Python line will look something
like 't.column(col).setPlotDesignation("X")'.
> I imported ASCII files into tables and I need to designate 2 x-axes
> against which I want to plot my data. By default, I think, SciDavis uses
> the first column as x-Axis- but my x-axes are in between the others. I
> find it impractical to do the reassignment by hand, kind of :)
>
> Also, how would I specify which x-axis I want to use for a certain plot,
> when I have two available?
By default the next X column to the left from the Y column is used. But you
can use the plot wizard to plot any combination of columns regardless of the
plot designation. If you want to do it using Python, use something like
"layer.insertCurve(table, "col1", "col2", type=1)" as described here:
http://scidavis.sourceforge.net/help/manual/x4705.html
HTH,
Tilman
|