Giter Club home page Giter Club logo

bargraph's People

Contributors

cota avatar derekbruening avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bargraph's Issues

Combination of cluster, multibar, and multi data.

From [email protected] on February 11, 2013 22:10:34

It will be good if bargraph.pl could generate combination of cluster, multibar, and multidata.

What is the expected output? What do you see instead?
I attached the output example file.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Attachment: line.tif

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=28

IIncorrect format at line 176 for sample stacked_var.perf

Hi,
I have tested the latest release version and version 4.7. The file generated by bargraph is mal-formed
and have some extra newlines leading from line 176 for compiling stacked_var.perf.

After removing those redundant newlines, it works properly. So maybe it is a bug that.
I use the following command to generate desired temporary file (stacked_var.dat) for
checking where that bug occurs.

bargraph stacked_var.perf > stacked_var.dat

I use Ubuntu 16.4 with gnu 5.0.7.

rotating labels on cluster-of-stacked-bars graph

From [email protected] on August 12, 2009 15:31:22

Hi Derek,

Great script!
I am using the cluster-of-stacked-bars graph for a project of mine.
My problem is that the equivalent labels of
"Private Caches, Shared Caches, Persistent Caches"
in my graph are longer than the bars and so run into each other.
Is it possible to get a rotate variable added for these labels?

Thanks,
Kevin

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=1

errorbar.perf in version 4.6

From [email protected] on April 16, 2010 10:49:29

What steps will reproduce the problem?
perl ../bargraphgen46/bargraph.pl scpt/errorbar.perf > chart/errorbar.eps
Boxes should not be different widths: report this!
Incomplete line object at line 371.
make: *** [errorbar] Error 9

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
I am using version 4.6 on Ubuntu 910

Please provide any additional information below.

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=18

make error : "TIFFLinkDirectory: Error fetching directory count."

From [email protected] on August 08, 2010 12:14:09

What steps will reproduce the problem?

  1. When building the samples.
    1. Also tried building simple.pref separately.

What is the expected output? What do you see instead?
The output should be simple.png which does get created correctly. But make spews out these lines:
../bargraphgen-4.6/bargraph.pl -fig simple.perf | fig2dev -L tiff -m 4 > simple.tiff
TIFFLinkDirectory: Error fetching directory count.
mogrify -resize 700x700 -format png simple.tiff
rm simple-1.png
rm: cannot remove `simple-1.png': No such file or directory
make: *** [simple.png] Error 1
rm simple.tiff

What version of the product are you using? On what operating system?
4.6 on Kubuntu 10.04

Please provide any additional information below.
That's all.

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=24

Color_per_datum with more than 10 data points and custom colours supplied by user - black bars drawn from bar 12 onwards

From [email protected] on October 25, 2013 11:38:46

What steps will reproduce the problem?

  1. Plot a simple graph with more than 10 data points, with color_per_datum set and a list of colours more than 12 entries long. The attached file contains a graph definition that exhibits the problem.

What is the expected output? What do you see instead?
I expect to see the bars colored in the order specified in the list. However from the 12th bar they are coloured black

What version of the product are you using? On what operating system?
Bargraph.pl v 4.7 Centos 5.6

Please provide any additional information below.
This seems to be because @fillstyle is not populated beyond element 11. The relevant code is below, I think the if ($custom_colors) section should also be setting $fillstyle[$i] to 20.

} elsif ($use_colors) {
$colorcount = $num_nongrayscale if ($color_per_datum);
# colors: all solid fill
for ($i=0; $i<$colorcount; $i++) {
$fillstyle[$i]=20;
}
if ($custom_colors) {
$colorcount = $#custom_color+1 if ($color_per_datum);
for ($i=0; $i<$colorcount; $i++) {
$fillcolor[$i]=$colornm{$custom_color[$i]};
}
} else {

Attachment: colourtest.txt

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=32

gnuplot 5.0 incorrectly places group labels at the top of the graph

I already fixed an issue with gnuplot 5.0 due to its change from linetype to dashtype in 210e259.

Another issue remains: group labels, such as with clustered stacked graphs, are placed at the top of the figure. Looking at the cluster_stacked.perf test and sample, focusing on this label in the gnuplot:

set label "Private Caches" at 0.672000,0 center rotate by 0

With gnuplot 4.4.2 this becomes this line in the fig output:

4 1 -1 0 -1 -1 10 0.000 4 125 1050 2936 4774 Private Caches\001

With 5.0.x it has a 0 value for y:

4 1 -1 0 -1 -1 10 0.000 4 125 1050 2936 0 Private Caches\001

Investigations so far indicate a bug in gnuplot but the final culprit is not yet identified.

box widths messed up with logarithmic axes

From [email protected] on January 17, 2010 11:56:15

Logarithmic axes are not fully supported. For now you can get them to work
with extra options to set the minimum, as well as to use a relative
boxwidth since gnuplot 4.2 no longer narrows the boxes as x increases:

extraops=set logscale
extraops=set xrange [1:28]
extraops=set yrange [1:]
\# in gnuplot 4.2, boxwidth does not shrink, so we don't want the default
\# of 0.5 absolute:
extraops=set boxwidth 0.5 relative

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=11

Unable to place rectangle object using extraops

I have a label on my plot that is obscured by some of the bars. I wish to put a white rectangle behind the label in order to make it visible. However, when I attempt to add such a rectangle by doing e.g.:

extraops=set object 1001 rect from graph 0.0, graph 0.0 to graph 1.0, graph 1.0 back fc rgb "white" fs solid noborder

(where I've deliberately made the rectangle large for testing purposes) then I get an error:

./bargraph.pl continuity_opt.dat > continuity_opt.eps Boxes should not be different widths (7036 vs 74): report this! Incomplete line object at line 210.

I've attached my full script to this issue.

continuity_opt.txt

My system:

  • Version 4.7 of bargraph.pl
  • gnuplot 4.6 patchlevel 4
  • $ uname -a
    Linux polo-vm 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
  • $ perl --version
    perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi

min-max bar

Hi, I wonder whether the plotting tool support min-max bars which is similar to the error bar. The difference is that, error bars typically show the mean values and the variance, but the min-max bars should show the mean values and its distance to the min and max values. I wonder how to extend the tool to support the min-max bar?

plot all the values (simple or cluster etc) relative to a baseline given in the perf file

From [email protected] on April 11, 2013 03:53:45

What steps will reproduce the problem?

What is the expected output? What do you see instead?
this feature does not yet exist

What version of the product are you using? On what operating system?
the latest one as of 04/13 on mac os x

Please provide any additional information below.
it would be great if i could plot the bar charts relative to a baseline metric. i specifically need this for speedup and such related studies.

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=30

support blank entries/spacing between clusters

From [email protected] on January 17, 2010 11:06:38

currently the only way to add spacing between clusters is to add fake data
entries with names like "_":

clustered and stacked single-dataset w/ "spaces" graph example w/ bogus data

=stackcluster;Basic Blocks;Traces;Hashtables;Stubs
=nogridy
=noupperright
legendx=7000
legendy=1800
yformat=%g%%
xlabel=Benchmark
ylabel=Percentage of total heap usage

=table
ammp 25.635 23.094 14.780 5.543
applu 25.035 27.375 14.974 4.913
apsi 19.012 33.135 15.210 4.346
art 25.118 10.322 17.892 4.129
equake 22.754 24.061 13.600 5.492
_ 0 0 0 0
Xammp 27.863 18.913 15.536 5.404
Xapplu 24.501 18.657 11.689 4.720
Xapsi 21.755 26.093 16.096 5.407
Xart 27.188 17.741 11.981 5.069
Xequake 29.172 18.688 11.851 5.926
__ 0 0 0 0
Yammp 17.863 11.913 19.536 9.404
Yapplu 34.501 12.657 18.689 7.720
Yapsi 11.755 23.093 17.096 2.407
Yart 17.188 14.741 16.981 3.069
Yequake 22.172 15.688 15.851 4.926

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=8

Color artifacts when using =patterns

From [email protected] on August 21, 2009 12:23:40

What steps will reproduce the problem?

  1. ./bargraph.pl cluster-pattern.perf > cluster-pattern.eps

What is the expected output? What do you see instead?
Output is expected to be black and white only, however small colored
borders can be seen around the bars (visibility depending on the graph).

What version of the product are you using? On what operating system?
Bargraph 4.4 using a patched Gnuplot 4.3 and fig2dev 3.2 on Ubuntu.

Please provide any additional information below.
This can be fixed by passing the -N option to fig2dev when not using
colors.

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=3

scaling via set size clips axis tic labels to their un-scaled bounds

From [email protected] on June 18, 2010 14:00:17

What steps will reproduce the problem?

  1. When I run the second example for clustered bar graphs, the last x tick ("winword" in this example) does not appear
    1. Without set size option ("extraops=set size 1.2,1"), the tick is shown. 3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
gnuplot 4.4/Ubuntu

Please provide any additional information below.

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=23

Using custom colors, the color of last bar of every cluster is mis-labeled in the Fig file

From [email protected] on November 10, 2009 18:53:03

Thanks for releasing the software, it is very very useful

Using example at http://www.burningcutlery.com/derek/bargraph/cluster.perf fig2dev output produces a lot of "Cannot locate user color X, using default
color on line Y", for high values of X like 92 etc.

Inspecting the fig file reveals that the last bar in every cluster is
assigned a bogus color index X; changing it by hand to correct index
results in proper output

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=5

Error bars different in both directions

From [email protected] on November 16, 2010 09:56:04

Nice software apparently! What I was looking for are error bars different in both directions. http://www.burningcutlery.com/derek/bargraph shows after "A bar graph with error bars". There is only one parameter, displayed as a positive and negative error bar with the same value.

What steps will reproduce the problem?
n.a.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Just inspecting http://www.burningcutlery.com/derek/bargraph

Please provide any additional information below.
Needed for logarithmic distribution data.

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=25

Font size of label is different than legend

From paul.biggar on September 26, 2009 09:26:08

Using the attached plot, the labels (added with "extraops" commands) are
not the same font size as the legend. I've tried playing with the font for
the extraops (something like adding "Times,7"), but that didn't affect the
font size of the label at all.

There is still a possibility that I'm using this wrong. In this case, it
would be great if the manual could be improved to discuss the interaction
of gnuplot and bargraph's font supports.

Attachment: irc.plot

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=4

switch to directly generating FIG output, bypassing gnuplot

Nearly all the bugs and breakage over time have involved gnuplot changing
how it does things or with gnuplot bugs. Maybe we could directly generate
FIG and avoid relying on gnuplot at all? The hard part is computing text
bounding boxes for placement of labels. In the past I looked into using
XTextExtents from perl X11::Lib or X11::Protocol but had trouble with
both.

Works with gnuplot 4.6.0 but not 4.6.3 or 4.4.3

From [email protected] on August 13, 2013 17:25:26

This is on ubuntu Linux.

  1. Install gnuplot 4.6.0
  2. Run bargraph.pl -pdf test.txt > test.pdf (see attached files text.txt and test.pdf)
  3. Install gnuplot 4.6.3
  4. Run bargraph.pl -pdf test.txt > test2.pdf (see attached file test2.pdf)

As you can see, test.pdf looks good, but test2.pdf looks messed up. I also tested this using gnuplot 4.4.3 and the result looked like test2.pdf.

Thanks!

Attachment: test.txt test.pdf test2.pdf

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=31

How to put legend inside the graph?

From [email protected] on May 28, 2010 16:51:29

What steps will reproduce the problem?

  1. With your errorbar.perf, I can't put the legend inside the graph. The
    legend locates above title with legendx=inside and legendy=center. In fact,
    I can't put it in the graph with any legend options.

What is the expected output? What do you see instead?
I want to put legend in the graph box, top/left or top/right side.

What version of the product are you using? On what operating system?
Ubuntu 8.04 and gnuplot 4.4

Please provide any additional information below.

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=22

Labels broken when using log scale with gnuplot 4.4 patchlevel 0

From [email protected] on August 03, 2011 10:50:24

What steps will reproduce the problem?
barchart.pl UsecO3vsSwlfAKS.perf
gives this diagnostic:

line 37: label has y coord of 0; must be above 0 for log scale!

This script did, I believe, work on an earlier version of gnuplot.

This is on Ubuntu 10.10. barchart.pl is
version 4.5 pre-release.

Attachment: UsecO3vsSwlfAKS.perf

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=26

Legend not appearing within graph itself

From [email protected] on May 19, 2010 14:10:10

I am using the latest version on the website as of 19/5/10 and was hoping
that the legend on the graph I produced would appear inside the graph
itself rather than above it.

Attached is the bargraph script with data, the log output and the graph
itself. My colleague changed the fonts and colour scheme a little. If you
like it I can ask him to send you the patch.

Attachment: bargraph_script graph.png log_output

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=20

capital letter bounding boxes not computed correctly by gnuplot

From [email protected] on February 06, 2010 23:56:44

It seems that the text bounds computed by gnuplot are ignoring capital
letters. I have no idea where the exact problem is, but using capital
letters anywhere shows the bug: put a long strings of caps as an x label,
or any label. For now I've added a hack to try and fudge the bounding box
for the legend but there's no clean way to do it w/o querying X.

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=15

Very small y axis max results in BARGRAPH_TEMP text appearing in png

From [email protected] on March 04, 2013 13:11:46

What steps will reproduce the problem?
1.Plot a graph such that the y axis maximum is much less than 1

e.g make a graph file:

=cluster Ctl NonCtl
title=test
=table
gene1 0.01 0.01
gene2 0.03 0.03
yformat=%g

2../bargraph.pl -png -non-transparent /tmp/graph.txt > /tmp/graph.png

What is the expected output? What do you see instead?
I expect to see a png containing just the graph and legend. Instead I see the dummy text at the top of the png (BARGRAPH_TEMP_XXX) and lots of empty space between it and a small graph at the bottom of the png.

What version of the product are you using? On what operating system?
Bargraph 4.7 on Centos 6.5

Please provide any additional information below.
It looks like the very small y axis max somehow results in gnuplot emitting fig lines like:
4 0 0 0 -1 0 10.000 0.000 4 125.000 1650.000 6500 -88088 BARGRAPH_TEMP_Ctl\001

The regular expression used to remove this from the fig output only looks for digits at the position occupied by -88088, so the '-' sign prevents the regular expression from matching. I'm not sure if this -ve value is correct, if so then I guess the regexp has to be changed to match this.

Original issue: http://code.google.com/p/bargraphgen/issues/detail?id=29

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.