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:[email protected]]
Sent: 23 February 2016 13:08
To: Gromov, Sergey <[email protected]>; [email protected]
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:[email protected]] On Behalf Of Gromov, 
Sergey
Sent: 23 February 2016 11:42
To: [email protected]<mailto:[email protected]>
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:[email protected]] On Behalf Of Johan 
Asplund
Sent: 23 February 2016 10:46
To: 'Birger Ilau' <[email protected]<mailto:[email protected]>>
Cc: [email protected]<mailto:[email protected]>
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:[email protected]] On Behalf Of Birger 
Ilau
Sent: 23 February 2016 10:24
Cc: [email protected]<mailto:[email protected]>
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 
<[email protected]<mailto:[email protected]>>:
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
> [email protected]<mailto:[email protected]>
> https://mail.gna.org/listinfo/veusz-discuss


_______________________________________________
Veusz-discuss mailing list
[email protected]<mailto:[email protected]>
https://mail.gna.org/listinfo/veusz-discuss

_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à