Re: [Veusz-discuss] bar chart

2016-03-28 Par sujet Michael Weiner
Jeremy Sanders  writes:
> Veusz is designed to break lines with NaN values.  Maybe it would be a good 
idea to add an option to not do that.  I could envisage supporting two 
different types of NaN - a datagroup breaking value and a missing value. This 
would be possible as there are so many different NaN values allowed. The main 
problem is how you support importing these different types of NaN.

Yes, I recommend that!  Thanks.

Mike


___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss


Re: [Veusz-discuss] bar chart

2016-03-25 Par sujet Jeremy Sanders



On 03/25/2016 11:01 AM, Michael Weiner wrote:


It would be best if Veusz could simply plot only the non-missing values
directly.  "NaN" works but breaks the line on xy plots.  Microsoft Excel
handles this well with the "NA()" value combined with the following option.

Select data -> Hidden and Empty Cells -> Show empty cells as gaps


Veusz is designed to break lines with NaN values.

Maybe it would be a good idea to add an option to not do that.

I could envisage supporting two different types of NaN - a datagroup 
breaking value and a missing value. This would be possible as there are 
so many different NaN values allowed. The main problem is how you 
support importing these different types of NaN.


Cheers

Jeremy

___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss


Re: [Veusz-discuss] bar chart

2016-03-25 Par sujet Michael Weiner
Birger Ilau  writes:
>
> 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 


It would be best if Veusz could simply plot only the non-missing values 
directly.  "NaN" works but breaks the line on xy plots.  Microsoft Excel 
handles this well with the "NA()" value combined with the following option.

Select data -> Hidden and Empty Cells -> Show empty cells as gaps

Mike
___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss


Re: [Veusz-discuss] bar chart

2016-02-24 Par sujet Birger Ilau
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

2016-02-23 Par sujet Gromov, Sergey
Right, compared to Johan’s solution there is certainly more work (however not 
impossible) on making bars having the same width ☺
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] On Behalf Of Gromov, 
Sergey
Sent: 23 February 2016 11:42
To: veusz-discuss@gna.org<mailto: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] On Behalf Of Johan 
Asplund
Sent: 23 February 2016 10:46
To: 'Birger Ilau' <birgeri...@gmail.com<mailto:birgeri...@gmail.com>>
Cc: veusz-discuss@gna.org<mailto: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] On Behalf Of Birger 
Ilau
Sent: 23 February 2016 10:24
Cc: veusz-discuss@gna.org<mailto: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<mailto: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<mailto:Veusz-discuss@gna.org>
> https://mail.gna.org/listinfo/veusz-discuss


___
Veusz-discuss mailing list
Veusz-discuss@gna.org<mailto: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

2016-02-23 Par sujet Johan Asplund
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] 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] On Behalf Of Johan 
Asplund
Sent: 23 February 2016 10:46
To: 'Birger Ilau' <birgeri...@gmail.com <mailto:birgeri...@gmail.com> >
Cc: veusz-discuss@gna.org <mailto: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] On Behalf Of Birger 
Ilau
Sent: 23 February 2016 10:24
Cc: veusz-discuss@gna.org <mailto: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 
<mailto: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 <mailto:Veusz-discuss@gna.org> 
> https://mail.gna.org/listinfo/veusz-discuss


___
Veusz-discuss mailing list
Veusz-discuss@gna.org <mailto: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

2016-02-23 Par sujet Gromov, Sergey
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] 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] On Behalf Of Birger 
Ilau
Sent: 23 February 2016 10:24
Cc: veusz-discuss@gna.org<mailto: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<mailto: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<mailto:Veusz-discuss@gna.org>
> https://mail.gna.org/listinfo/veusz-discuss


___
Veusz-discuss mailing list
Veusz-discuss@gna.org<mailto:Veusz-discuss@gna.org>
https://mail.gna.org/listinfo/veusz-discuss



160222_example-axis_break.vsz
Description: 160222_example-axis_break.vsz
___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss


Re: [Veusz-discuss] bar chart

2016-02-23 Par sujet Johan Asplund
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] 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 
<mailto: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 <mailto:Veusz-discuss@gna.org> 
> https://mail.gna.org/listinfo/veusz-discuss


___
Veusz-discuss mailing list
Veusz-discuss@gna.org <mailto:Veusz-discuss@gna.org> 
https://mail.gna.org/listinfo/veusz-discuss

 



160222_example.vsz
Description: Binary data
___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss


Re: [Veusz-discuss] bar chart

2016-02-23 Par sujet Birger Ilau
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 :

> 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


Re: [Veusz-discuss] bar chart

2016-02-22 Par sujet Benjamin K. Stuhl
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


Re: [Veusz-discuss] bar chart - file attached

2016-02-22 Par sujet Gromov, Sergey
Hi Birger,

It is not possible to open the file you sent – you need to send the data file 
(160222_example1.csv) along, as Veusz does not save imported data by default.

Alternatively, you could choose “unlink all” on this dataset in the data 
browser, then it will be saved in *.vsz.

Sergey


From: Veusz-discuss [mailto:veusz-discuss-boun...@gna.org] On Behalf Of Birger 
Ilau
Sent: 22 February 2016 21:13
To: veusz-discuss@gna.org
Subject: [Veusz-discuss] bar chart - file attached


___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss


[Veusz-discuss] bar chart

2016-02-22 Par sujet Birger Ilau
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