Welcome to Help

Help
bjoern
2009-05-10
2013-04-03
  • bjoern

    bjoern - 2009-05-10

    Hi there,
    nice thing that the project is still alive.
    Can anyone tell me how to add a dataset to an existing graph via the plot() command?
    The effect of
    plot(data1)
    plot(data2)
    seems to result in a concatenation of data1 and data2, and not in two datasets data1 and data2.
    Regardless of the value of the _hold variable.

     
    • Marcus Mendenhall

      Sorry it took me an embarrassingly  long time to get back to you.  After I took over the project, I was busy with other things, and didn't even look at the site.  Right now, there is no direct way to do this, although you could cheat and just append a data set to the datasets list in the GracePlot object, and then increment the nSets variable.  It would be very easy to add an append_plot command, or maybe an append argument to the regular plot() call, to allow this.  I will look into this a bit later this summer.  Normally, I create the plot with all the data sets in the first place.

      Thanks for the request.  My goal is to provide the bits that make this most useful to lots of people.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks