10 More Discussions You Might Find Interesting
1. UNIX and Linux Applications
I'm pretty familiar with Gnuplot, but I've never actually come across a reasonable solution to this problem and I'm hoping someone can help me out! I think it's because I don't know how to pose the problem neatly, so please bare with me. Also new to the forum....so yeah...
I have one data set (x... (3 Replies)
Discussion started by: TC69
3 Replies
2. Shell Programming and Scripting
I have a data file of the following format:
servername,2013-05-11 17:46:03,SomeText,195,195,11,202
servername,2013-05-11 17:47:03,SomeText,192,192,23,103
servername,2013-05-11 17:48:03,SomeText,189,190,14,117
servername,2013-05-11 17:49:03,SomeText,196,195,24,231
...
...
I want to... (0 Replies)
Discussion started by: BeeryM
0 Replies
3. Red Hat
How can I change the remote printer font style as its been printing in a non readable format. Is it possible to change it from the server console. (0 Replies)
Discussion started by: gsiva
0 Replies
4. Shell Programming and Scripting
#cat myfile
libgcc: Package > additional *crt*.o files for PPC libgcc: Package > additional *crt*.o files for PPC
binutils: Default to n64 when configured for mips64 binutils: Default to n64 when configured for mips64
> gcc-4.6, gcc-4.7: Add support for building mips64 cross compi... (3 Replies)
Discussion started by: yanglei_fage
3 Replies
5. Shell Programming and Scripting
My input data has occasional holes in it, spots where a sensor couldn't be read. These are ERR in the data file instead of a floating point number. What should I change them to, for gnuplot to ignore these values instead of whining about them? (1 Reply)
Discussion started by: Corona688
1 Replies
6. Programming
I've got the following form element in a template driven web page...
<INPUT type="text" class="normal" id="LastName" name="LastName" value="{LastName}">
The stylesheet description is simply...
input.normal { width: 250; }
I want to change the background colour of the input box after the user... (0 Replies)
Discussion started by: JerryHone
0 Replies
7. UNIX for Dummies Questions & Answers
I was looking at the examples that show how to fit data using gnuplot (ex: gnuplot / misc (2E)) but I can't find a place that shows what to do if I have ranges for the x and y error bars. I tried the common sense:
gnuplot> fit f(x) "data.txt" using 3:6:4:5:7:8 via a,b
... (8 Replies)
Discussion started by: cosmologist
8 Replies
8. UNIX for Dummies Questions & Answers
hiii, Help me out..i have a huge set of data stored in a file.This file has has 2 columns which is latitude & longitude of a region. Now i have a program which asks for the number of points & based on this number it asks the user to enter that latitude & longitude values which are in the same... (7 Replies)
Discussion started by: reva
7 Replies
9. UNIX for Dummies Questions & Answers
Does anyone know how can one draw lines between 2 sets of data for the same point.
let's say that the three points
(x1,y1) = (1,2) (4,5) (8.9)
became:
(x2,y2) = (3,6) (6,4) (4, 0)
so if I want to plot these points and match every (x1,y1) with the corresponding (x2,y2), how can I do it?... (3 Replies)
Discussion started by: cosmologist
3 Replies
10. UNIX and Linux Applications
I have a simple gnuplot question. I have a set of points (list of x,y,z values; irregularly spaced, i.e. no grid) that I want to plot. I want the plot to look like this:
- points in map view (no 3D view)
- color of each point should depend on its z-value.
- I want to define my own color scale
-... (0 Replies)
Discussion started by: karman
0 Replies
Strip(3pm) User Contributed Perl Documentation Strip(3pm)
NAME
Chart::Strip - Draw strip chart type graphs.
SYNOPSIS
use Chart::Strip;
my $ch = Chart::Strip->new(
title => 'Happiness of our Group',
# other options ...
);
$ch->add_data( $davey_data, { style => 'line',
color => 'FF0000',
label => 'Davey' } );
$ch->add_data( $jenna_data, { style => 'line',
color => '00FF88',
label => 'Jenna' } );
print $ch->png();
DESCRIPTION
The Chart::Strip package plots data values versus time graphs, such as used for seismographs, EKGs, or network usage reports.
It can plot multiple data sets on one graph. It offers several styles of plots. It automatically determines the proper ranges and labels
for both axii.
USAGE
Create the Chart
$chart = Chart::Strip->new();
$chart = Chart::Strip->new(
option1 => value,
option2 => value,
);
If no options are specified, sensible default values will be used. The following options are recognized:
"width"
The width of the image
"height"
The height of the image.
"title"
The title of the graph. Will be placed centered at the top.
"x_label"
The label for the x axis. Will be placed centered at the bottom.
"y_label"
The label for the y axis. Will be placed vertically along the left side.
"draw_grid"
Should a grid be drawn on the graph?
"draw_border"
Should a border be drawn around the edge of the image?
"draw_tic_labels"
Should value labels be shown?
"draw_data_labels"
Should each data set be labeled?
"transparent"
Should the background be transparent?
"grid_on_top"
Should the grid be drawn over the data(1) or below the data(0)?
"binary"
Use powers of 2 instead of powers of 10 for the y axis labels.
"data_label_style"
Style for drawing the graph labels. "text" or "box"
"thickness"
Thickness of lines in pixels. (Requires GD newer than $VERSION).
"skip_undefined"
Don't draw a line into or out of a datapoint whose value is undefined. If false, undefined values are treated as though they were 0.
"boxwidth"
Width of boxes for box style graphs. The width may also be specified as "width" in the data options or per point. If no width is
specified a reasonable default is used.
Adding Data
$chart->add_data( $data, $options );
The data should be an array ref of data points. Each data point should be a hash ref containing:
{
time => $time_t, # must be a unix time_t
value => $value, # the data value
color => $color, # optional, used for this one point
}
or, range style graphs should contain:
{
time => $time_t, # must be a unix time_t
min => $low, # the minimum data value
max => $high, # the maximum data value
color => $color, # optional, used for this one point
}
and the options may contain:
{
style => 'line', # graph style: line, filled, range, points, box
color => 'FF00FF', # color used for the graph
label => 'New England', # name of the data set
}
points style graphs may specify the point diameter, as "diam"
box style graphs may specify the box width, as "width"
line and filled graphs may specify a "smooth" parameter, to connect points using smooth curves instead of straight lines. A value of 1 is
recommended, larger values will be less smooth.
line, points, box, and filled graphs may specify a drop shadow, consisting of a hashref containing "dx", "dy", "dw", and optionally,
"color"
shadow => { dx => 3, dy => 3, dw => 3, color => 'CCCCCC' }
Outputing The Image
$chart->png()
Will return the PNG image
$chart->jpeg()
Will return the jpeg image
$chart->gd()
Will return the underlying GD object.
EXAMPLE IMAGES
http://argus.tcp4me.com/shots.html
http://search.cpan.org/src/JAW/Chart-Strip-1.07/eg/index.html
LICENSE
This software may be copied and distributed under the terms found in the Perl "Artistic License".
A copy of the "Artistic License" may be found in the standard Perl distribution.
BUGS
There are no known bugs in the module.
SEE ALSO
Yellowstone National Park.
AUTHOR
Jeff Weisberg - http://www.tcp4me.com
perl v5.14.2 2012-03-18 Strip(3pm)