priyo has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I am using Chart:Gnuplot module and unable to set fixed width for boxes in a bar chart. I have irregularly spaced sample points and width of the boxes are varying to fill gaps between samples.

How do I set fixed width for boxes?

Regards

Priyo

Replies are listed 'Best First'.
Re: box width in bar chart
by wjw (Priest) on Feb 20, 2014 at 05:43 UTC
    Have you taken a look at this Example Gallery?

    Have not worked with this module, but the code examples and plots look like they might give you some ideas...

    Hope that is helpful...

    ...the majority is always wrong, and always the last to know about it...
    Insanity: Doing the same thing over and over again and expecting different results.

      Thanks wjw,

      I have already checked those examples and those are really very helpful. However it does not show usage of fixed width bar graph.

      I tried to use histrograms style, since my x axis is time based, it gave error.

      Regards

      Priyo