Re: [Veusz-discuss] bar chart
Hi, Thank you for your help, I got a solution (used Johan's idea this time). Regards Birger 2016-02-23 14:11 GMT+02:00 Gromov, Sergey <sergey.gro...@mpic.de>: > Right, compared to Johan’s solution there is certainly more work (however > not impossible) on making bars having the same width J > > Sergey > > > > > > *From:* Johan Asplund [mailto:asplu...@gmail.com] > *Sent:* 23 February 2016 13:08 > *To:* Gromov, Sergey <sergey.gro...@mpic.de>; veusz-discuss@gna.org > *Subject:* RE: [Veusz-discuss] bar chart > > > > That’s a good solution but it looks like it also adjust the width of the > bars which looks a bit weird. > > > > > > Johan > > > > *From:* Veusz-discuss [mailto:veusz-discuss-boun...@gna.org > <veusz-discuss-boun...@gna.org>] *On Behalf Of *Gromov, Sergey > *Sent:* 23 February 2016 11:42 > *To:* veusz-discuss@gna.org > *Subject:* Re: [Veusz-discuss] bar chart > > > > Hi Birger, > > > > An alternative to Johan’s solution would be to play with the axis-broken > widget. > > It allows customising axis breaks and their position. > > You can experiment for the best layout in the sample file I attach... > > > > Cheers, > > Sergey > > > > > > *From:* Veusz-discuss [mailto:veusz-discuss-boun...@gna.org > <veusz-discuss-boun...@gna.org>] *On Behalf Of *Johan Asplund > *Sent:* 23 February 2016 10:46 > *To:* 'Birger Ilau' <birgeri...@gmail.com> > *Cc:* veusz-discuss@gna.org > *Subject:* Re: [Veusz-discuss] bar chart > > > > Here’s an example where I’ve changed the positions of the bars. The > positions are not exact but it gives you an idea of how to solve it. Did I > understand your problem correctly? > > > > Johan > > > > *From:* Veusz-discuss [mailto:veusz-discuss-boun...@gna.org > <veusz-discuss-boun...@gna.org>] *On Behalf Of *Birger Ilau > *Sent:* 23 February 2016 10:24 > *Cc:* veusz-discuss@gna.org > *Subject:* Re: [Veusz-discuss] bar chart > > > > Hi > > > > Sorry about the file, now added the data file as well. > > I did try NaN, but it still leaves an empty space on the chart in the > place of NaN just like 0. > > > > Thanks, > > Birger > > > > 2016-02-23 5:15 GMT+02:00 Benjamin K. Stuhl <bk...@cornell.edu>: > > Hi Birger, > If you put NaN instead of zero, Veusz will automatically break the > xy-plot lines at each missing value. Is that closer to what you want? > > Regards, > Ben > > > On 2/22/2016 1:11 PM, Birger Ilau wrote: > > Hi, > > > > I'm plotting multiple groups of data and there are different number of > > values in each group. In the data fail, I put 0 to the positions of > > missing values to groups that have fewer values than others. But I > > don't really want empty spaces on my chart. I don't know a better way > > to do this. > > Can anyone help me out, please? > > > > All the best, > > > > Birger > > > > > > > ___ > > Veusz-discuss mailing list > > Veusz-discuss@gna.org > > https://mail.gna.org/listinfo/veusz-discuss > > > ___ > Veusz-discuss mailing list > Veusz-discuss@gna.org > https://mail.gna.org/listinfo/veusz-discuss > > > > ___ > Veusz-discuss mailing list > Veusz-discuss@gna.org > https://mail.gna.org/listinfo/veusz-discuss > > ___ Veusz-discuss mailing list Veusz-discuss@gna.org https://mail.gna.org/listinfo/veusz-discuss
Re: [Veusz-discuss] bar chart
Hi Sorry about the file, now added the data file as well. I did try NaN, but it still leaves an empty space on the chart in the place of NaN just like 0. Thanks, Birger 2016-02-23 5:15 GMT+02:00 Benjamin K. Stuhl <bk...@cornell.edu>: > Hi Birger, > If you put NaN instead of zero, Veusz will automatically break the > xy-plot lines at each missing value. Is that closer to what you want? > > Regards, > Ben > > On 2/22/2016 1:11 PM, Birger Ilau wrote: > > Hi, > > > > I'm plotting multiple groups of data and there are different number of > > values in each group. In the data fail, I put 0 to the positions of > > missing values to groups that have fewer values than others. But I > > don't really want empty spaces on my chart. I don't know a better way > > to do this. > > Can anyone help me out, please? > > > > All the best, > > > > Birger > > > > > > ___ > > Veusz-discuss mailing list > > Veusz-discuss@gna.org > > https://mail.gna.org/listinfo/veusz-discuss > > > ___ > Veusz-discuss mailing list > Veusz-discuss@gna.org > https://mail.gna.org/listinfo/veusz-discuss > wt,mut1,mut2,mut3 1,"0,5","0,9","0,1" 1,"0,3","0,4",0 1,"1,3",0,0 1,"0,8","0,9","0,85" 160222_example.vsz Description: Binary data ___ Veusz-discuss mailing list Veusz-discuss@gna.org https://mail.gna.org/listinfo/veusz-discuss
[Veusz-discuss] bar chart
Hi, I'm plotting multiple groups of data and there are different number of values in each group. In the data fail, I put 0 to the positions of missing values to groups that have fewer values than others. But I don't really want empty spaces on my chart. I don't know a better way to do this. Can anyone help me out, please? All the best, Birger ___ Veusz-discuss mailing list Veusz-discuss@gna.org https://mail.gna.org/listinfo/veusz-discuss
Re: [Veusz-discuss] data values on bars
Fantastic, the xy plot with markers set to none is a perfect solution. Thanks a lot. Birger 2014-12-15 16:15 GMT+02:00 Steve Richardson arich...@gmail.com: I've done something similar by using an xy points plot with markers set to none, but with labels set to the text I wanted to appear. Note that hiding the markers doesn't work because that hides the labels too. On Mon, Dec 15, 2014 at 7:22 AM, Jeremy Sanders jer...@jeremysanders.net wrote: On 12/12/14 23:38, Birger Ilau wrote: I need the bottom of each bar (under the x-axis) to have a label (defined as a dataset names), I can do that by going /x-axis properties - mode - labels/ and then defining labels from /bar properties - labels - names/. So far it works fine. But now I need data values (y-axis values) on top of each bar and I can not find a way to do that. Only way to see data values on each bar is to put them instead of my name labels under the x-axis, but I'm sure there's a way to do it properly. I don't know of an obvious way to do this. However, you could add a label widget to the plot if you can calculate x and y coordinates for the labels (these can be datasets), use your numerical dataset for Label and set the position mode to axes. Hope this helps Jeremy ___ Veusz-discuss mailing list Veusz-discuss@gna.org https://mail.gna.org/listinfo/veusz-discuss ___ Veusz-discuss mailing list Veusz-discuss@gna.org https://mail.gna.org/listinfo/veusz-discuss