gnuplot: map view with black and white for 0/1 in the 3rd column


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers gnuplot: map view with black and white for 0/1 in the 3rd column
Prev   Next
# 1  
Old 03-17-2011
gnuplot: map view with black and white for 0/1 in the 3rd column

Hi,

I am using gnuplot to plot a 3D plot with "set view map".
My data looks like
======
X Y Z
======
100 200 0
200 300 1
200 200 0
.
.
.

The third column only has either 0 or 1. How do I generate a map view plot that will have black (white) for 0 (1)?

Thanks,
Gaurab
 
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to insert data into black column( Secound Column ) in excel (.XLSX) file using shell script?

Source Code of the original script is down below please run the script and try to solve this problem this is my data and I want it column wise 2019-03-20 13:00:00:000 2019-03-20 15:00:00:000 1 Operating System LAB 0 1 1 1 1 1 1 1 1 1 0 1 (5 Replies)
Discussion started by: Shubham1182
5 Replies

2. Hardware

Black and white inversion on Samsung ML-2010

I have an old Samsung ML-2010 that has obtained a strange problem. When printing a PDF, image, or from chromium what is suppose to be black and white is inverted. In order to print an image, I had to use GIMP to invert the colors. Printing the image with inverted colors caused the image to be... (2 Replies)
Discussion started by: LinuxFreak
2 Replies

3. UNIX for Advanced & Expert Users

Gnuplot question: plotting 3D data in map view

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: - map view (no 3D view) - color of each point should depend on z-value. - I want to define my own color scale - plot should... (1 Reply)
Discussion started by: karman
1 Replies

4. UNIX and Linux Applications

Gnuplot question: how to plot 3D points as colored points in map view?

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
Login or Register to Ask a Question
MINISTAT(1)						    BSD General Commands Manual 					       MINISTAT(1)

NAME
ministat -- statistics utility SYNOPSIS
ministat [-ns] [-C column] [-c confidence_level] [-d delimiter] [-w [width]] [file ...] DESCRIPTION
The ministat command calculates fundamental statistical properties of numeric data in the specified files or, if no file is specified, stan- dard input. The options are as follows: -n Just report the raw statistics of the input, suppress the ASCII-art plot and the relative comparisons. -s Print the average/median/stddev bars on separate lines in the ASCII-art plot, to avoid overlap. -C column Specify which column of data to use. By default the first column in the input file(s) are used. -c confidence_level Specify desired confidence level for Student's T analysis. Possible values are 80, 90, 95, 98, 99 and 99.5 % -d delimiter Specifies the column delimiter characters, default is SPACE and TAB. See strtok(3) for details. -w width Width of ASCII-art plot in characters, default is 74. A sample output could look like this: $ ministat -s -w 60 iguana chameleon x iguana + chameleon +------------------------------------------------------------+ |x * x * + + x +| | |________M______A_______________| | | |________________M__A___________________| | +------------------------------------------------------------+ N Min Max Median Avg Stddev x 7 50 750 200 300 238.04761 + 5 150 930 500 540 299.08193 No difference proven at 95.0% confidence If ministat tells you, as in the example above, that there is no difference proven at 95% confidence, the two data sets you gave it are for all statistical purposes identical. You have the option of lowering your standards by specifying a lower confidence level: $ ministat -s -w 60 -c 80 iguana chameleon x iguana + chameleon +------------------------------------------------------------+ |x * x * + + x +| | |________M______A_______________| | | |________________M__A___________________| | +------------------------------------------------------------+ N Min Max Median Avg Stddev x 7 50 750 200 300 238.04761 + 5 150 930 500 540 299.08193 Difference at 80.0% confidence 240 +/- 212.215 80% +/- 70.7384% (Student's t, pooled s = 264.159) But a lower standard does not make your data any better, and the example is only included here to show the format of the output when a sta- tistical difference is proven according to Student's T method. SEE ALSO
Any mathematics text on basic statistics, for instances Larry Gonicks excellent "Cartoon Guide to Statistics" which supplied the above exam- ple. HISTORY
The ministat command was written by Poul-Henning Kamp out of frustration over all the bogus benchmark claims made by people with no under- standing of the importance of uncertainty and statistics. From FreeBSD 5.2 it has lived in the source tree as a developer tool, graduating to the installed system from FreeBSD 8.0. BSD
June 28, 2010 BSD