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

Attachment: 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

Répondre à