Menu

#270 Error bars are added only to 1st y-column in multiple (y,yEr) table

1.D8
dup
nobody
None
4normal
2016-03-15
2016-03-04
Fellype
No

If we have a table with one x column and multiple (y,yEr) columns, with each yEr column adjacent to its corresponding y column, and we try to plot everything at once, all error bars will be added only to the first y curve.
The expected behavior is that each y curve have its corresponding error bars.
The attached SciDAVis project shows this issue.
This issue still happening in 1.D9 and in the latest github code.

1 Attachments

Discussion

  • narunlifescience

    as far as i know, scidavis dont have a reliable grouping mechanism to link multiple y & its corresponding y error values by default. this is possible with plot wizard though

    select view->plot wizard
    then create a new curve -> add x(1), y(2) , y-err(3)
    again create new curve -> add x(1), y(4) , y-err(5)
    again create new curve -> add x(1), y(6) , y-err(7)
    and then plot

    here is the resulting plot : http://imgur.com/lcdHIqP

    may be we can include some kind of grouping after porting to qwt6.. what do you think Dr. Standish?

     

    Last edit: narunlifescience 2016-03-09
    • High Performance Coder

      may be we can include this after porting to qwt6.. what do you think Dr. Standish?

      Well if this itches a developer enough to scratch it, sure. However,
      it's not high on my priority list - more important to me is to fix the
      quality of figure exports, as that really impedes the use of scidavis
      for creating publications. It's one area where gnuplot really, really
      shines. Maybe adding a gnuplot script export option might be one way
      of having one's cake and eating it.

      Cheers


      Dr Russell Standish Phone 0425 253119 (mobile)
      Principal, High Performance Coders
      Visiting Senior Research Fellow hpcoder@hpcoders.com.au
      Economics, Kingston University http://www.hpcoders.com.au


       
  • narunlifescience

    I agree.. publication quality images are hard to achive with scidavis.. but we are using qwt to produce the plot so how to use gnuplot to export the image ?

     
    • High Performance Coder

      On Thu, Mar 10, 2016 at 12:51:00AM +0000, Arun Narayanankutty wrote:

      I agree.. publication quality images are hard to achive with scidavis.. but we are using qwt to produce the plot so how to use gnuplot to export the image ?

      Gnuplot is quite a high level representation of the problem, so I
      would bypass qwtPlot, and rather think about how one would convert a
      SciDavis project into a directory containing data files and a gnuplot
      script.

      But this is just idle thoughts anyway. Of more immediate concern is to
      get eps export working...

      --


      Dr Russell Standish Phone 0425 253119 (mobile)
      Principal, High Performance Coders
      Visiting Senior Research Fellow hpcoder@hpcoders.com.au
      Economics, Kingston University http://www.hpcoders.com.au


       
  • narunlifescience

    well.. that seems hard..

     
  • narunlifescience

    I just tested eps export.. it seems to be working.

     
  • High Performance Coder

    See #245. We shouldn't really be discussing export quality on this ticket.

     

    Last edit: High Performance Coder 2016-03-10
  • Fellype

    Fellype - 2016-03-15
    • status: open --> dup
     
  • Fellype

    Fellype - 2016-03-15

    Duplicate of #178. However, it is better described here.

     

Log in to post a comment.