chart::clicker::renderer::bar(3pm) [debian man page]
Chart::Clicker::Renderer::Bar(3pm) User Contributed Perl Documentation Chart::Clicker::Renderer::Bar(3pm)NAME
Chart::Clicker::Renderer::Bar - Bar renderer
VERSION
version 2.83
SYNOPSIS
my $br = Chart::Clicker::Renderer::Bar->new;
DESCRIPTION
Chart::Clicker::Renderer::Bar renders a dataset as bars.
NEGATIVE BARS
If you'd like to render both "negative and positive" bars, look at Chart::Clicker::Axis's "baseline" attribute. Setting it will result in
something like this:
bar_padding
How much padding to put around a bar. A padding of 4 will result in 2 pixels on each side.
ATTRIBUTES
bar_width
Allows you to override the calculation that determines the optimal width for bars. Be careful using this as it can making things look
terrible. Note that this number is divided evenly between all the values in a series when charting multiple series.
brush
Set/Get the brush to use around each bar.
opacity
Set/Get the alpha value to make each bar more or less opaque.
AUTHOR
Cory G Watson <gphat@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-22 Chart::Clicker::Renderer::Bar(3pm)
Check Out this Related Man Page
Chart::Clicker::Context(3pm) User Contributed Perl Documentation Chart::Clicker::Context(3pm)NAME
Chart::Clicker::Context - A rendering context: Axes, Markers and a Renderer
VERSION
version 2.83
SYNOPSIS
my $clicker = Chart::Clicker->new;
my $context = Chart::Clicker::Context->new(
name => 'Foo'
);
$clicker->add_to_contexts('foo', $context);
DESCRIPTION
Contexts represent the way a dataset should be charted. Multiple contexts allow a chart with multiple renderers and axes. See the
CONTEXTS section in Chart::Clicker.
renderer
Set/get this context's renderer
ATTRIBUTES
domain_axis
Set/get this context's domain Axis.
markers
An arrayref of Chart::Clicker::Data::Markers for this context.
name
Set/get this context's name
range_axis
Set/get this context's range Axis.
METHODS
add_marker
Add a marker to this context.
marker_count
Get a count of markers in this context.
share_axes_with ($other_context)
Sets this context's axes to those of the supplied context. This is a convenience method for quickly sharing axes. It's simple doing:
$self->range_axis($other_context->range_axis);
$self->domain_axis($other_context->domain_axis);
AUTHOR
Cory G Watson <gphat@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-22 Chart::Clicker::Context(3pm)
Hi Programmers,
I just wrote a small script to print the percent complete.
This maybe useful for someone!
#!/usr/local/bin/perl
# Total from which percentage will be calculated
$cnt = 16;
$|=1;
for($i=0;$i<$cnt;$i++)
{
# Calculate Percentage
$percent = ($i/$cnt)*100; (13 Replies)
When I use gnuplot to plot a set of data I get extra y-axis error bars in some random points. Please try the code below, and note the y error bars in the top left corner that don't have any data corresponding to it. Any idea what might be causing this?
gnuplot >
set yrange
set xrange
... (1 Reply)
Hi Folks,
I've been playing around implementing some colorful progress bars using shell scripting. I thought it would nice to share my work :)
If you like em, feel free to use em :D
Cheers
#!/bin/sh
# progbar3.sh
# Simulate a progress bar with colors
# Author: Sofiane Cherchalli... (1 Reply)
Hi, everyone!!
i am new to perl programming.. plz help me.
#!C:/perl/bin
use warnings;
use strict;
use Text::CSV_XS;
my @rows = "";
my $row;
my $count;
my $fh;
my @fields = "";
my $csv = Text::CSV_XS->new ({binary =>1}) or
die "cannot use CSV:" .Text::CSV->error_diag ();
open... (3 Replies)
Hi everyone,
I am trying to put a progress bar in the MS-DOS that indicate to the user the how is the progress of a read in one text file. Then i put:
#define contador 100
char bar_porcentagem="0.0%%";
long bar_aux=0;
char buffer;
long i;
void barra_progresso(long i,long... (3 Replies)
Hi,
I have a dataset say
1 2 3 4
5 5 6 7
6 7 8 9
I was wondering if there is a way to add another column with the following style...
1 2 3 4 xyz_1
5 5 6 7 xyz_2
6 7 8 9 xyz_3
It would be greatly appreciated if I can have an option of specifying what to write instead of xyz,... (8 Replies)
I have a file
$ cat myfile
A 02/16/2012
B 02/19/2012
C 02/20/2012
D 02/17/2012
E 02/16/2012
My simple script
> cat myscript.sh
mydate="02/16/2012"
awk ' ($2~/$mydate/) {print $1}' < myfile
but I got no output! and when I try $2~/'$mydate'/
I got: The error context is (2 Replies)
Hello,
I have example data like below:
39 ,2012/01,0
22 ,2012/02,0
2 ,2012/02,1
23 ,2012/03,0
3 ,2012/03,1
16 ,2012/04,0
2 ,2012/04,1
8 ,2012/05,0
2 ,2012/05,1
It is possible (awk, sed, bash) to calculate output like below (second value... (6 Replies)
Hi,
I have a data file with :
01/28/2012,1,1,98995
01/28/2012,1,2,7195
01/29/2012,1,1,98995
01/29/2012,1,2,7195
01/30/2012,1,1,98896
01/30/2012,1,2,7083
01/31/2012,1,1,98896
01/31/2012,1,2,7083
02/01/2012,1,1,98896
02/01/2012,1,2,7083
02/02/2012,1,1,98899
02/02/2012,1,2,7083
I... (1 Reply)
echo "2012-12-26--14.8224 2012-12-27--14.2898 2012-12-28--14.9180 2012-12-29--13.3637 2012-12-30--13.7091"
the set of numbers i provided above is separated by spaces. how do i count how many sets there are?
i tried:
echo "2012-12-26--14.8224 2012-12-27--14.2898 2012-12-28--14.9180... (5 Replies)
For example, I have a file called data.txt. And the content is:
Iker_Casillas 181
Raphael_Varane 182
Sergio_Ramos 182May I know how to write a script for gnuplot, so I can have a bar graph as the column 1 will be the x and column 2 will be the y? And I hope that the x value can be seen clearly.... (0 Replies)