[Kst] question on generating plots from the command line

Dan Field dan_field at hotmail.com
Tue Oct 20 13:41:24 UTC 2015


Nicolas:

I did find the link, but thanks for following it up.  I wasn't aware
that this doesn't work for windows though, this will be a non-starter. 
Perhaps Barth can let us know how to get scripting working under windows.

Best,
    Dan


On 10/19/2015 1:47 PM, Nicolas Brisset wrote:
> Hi Dan,
>
> Sirry for the late reply. I hope you have found the link in the
> meantime, otherwise please check this page:
> https://kst-plot.kde.org/pykst/index.html
>
> I believe it has the most current documentation on scripting, though
> I'm not 100% sure. Maybe Barth knows better?
> @Barth: I also read recently that you got scripting working under
> Windows: that's great! How did you achieve this?
>
> Nicolas
>
> ------------------------------------------------------------------------
>
>     *De: *"Dan Field" <dan_field at hotmail.com>
>     *À: *"Nicolas Brisset" <nicolas.brisset at free.fr>, kst at kde.org
>     *Envoyé: *Lundi 12 Octobre 2015 00:12:14
>     *Objet: *Re: [Kst] question on generating plots from the command line
>
>     Nicolas:
>
>     Thanks for this... can you send me a pointer for learning about
>     how to use the scripting interface?
>
>     Best,
>         Dan
>
>
>     On 10/11/2015 12:52 PM, Nicolas Brisset wrote:
>
>         Hi Dan,
>
>         I'm not really sure as I rarely use the command line. But you
>         should be able to do what you're asking for (and much more)
>         using the python scripting interface.
>
>         Nicolas
>
>         ------------------------------------------------------------------------
>
>             *De: *"Dan Field" <dan_field at hotmail.com>
>             *À: *kst at kde.org
>             *Envoyé: *Mercredi 7 Octobre 2015 19:45:49
>             *Objet: *[Kst] question on generating plots from the
>             command line
>
>             Hi All:
>
>             If I generate a plot from the command line like:
>
>                 kst2 <filename> -x Time -P PlotName -y Field1 -y Field2
>
>             I get a single plot with 2 xy graphs, Time vs Field1 and
>             Time vs
>             Field2.  However, there's no way to distinguish which of
>             the differently
>             colored lines being graphed belong to Time vs Field1 and
>             which belongs
>             to Time vs Field2.  Are there some command lines that I'm
>             missing that
>             allow me to create a legend or some other way to do so?
>              Is there some
>             way to show the plot name (in this case "PlotName") on the
>             actual plot
>             and not part of an axis label?
>
>             Thanks in advance for your help.
>
>             Best,
>                 Dan
>
>             _______________________________________________
>             Kst mailing list
>             Kst at kde.org
>             https://mail.kde.org/mailman/listinfo/kst
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20151020/148097a8/attachment.html>


More information about the Kst mailing list