Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2547 > unrolled thread
| Started by | nilay <nilaybhatt@gmail.com> |
|---|---|
| First post | 2014-08-07 03:48 -0700 |
| Last post | 2014-08-07 13:39 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Plotting binary matrix nilay <nilaybhatt@gmail.com> - 2014-08-07 03:48 -0700
Re: Plotting binary matrix Karl <mail.kfr@gmx.net> - 2014-08-07 13:39 +0200
| From | nilay <nilaybhatt@gmail.com> |
|---|---|
| Date | 2014-08-07 03:48 -0700 |
| Subject | Plotting binary matrix |
| Message-ID | <5c5c00c0-8d56-49e3-8cb9-9f8f74beaa5d@googlegroups.com> |
Hi,
First of all, I beg apology for starting a new thread in spite of two existing threads on similar topic. The reason being that I don't get the solution from there.
I have the following datafile in matrix form with x-axis and y-axis range given in first row and column as per the specification in gnuplot help.
I am trying to plot it with the following command,
>splot 'jj31' matrix binary
it gives the error,
"Read grid of zero width"
how to solve this problem????
===================================================
datafile
================================================================================
10 0.0000e+00 1.0000e+00 2.0000e+00 3.0000e+00 4.0000e+00 5.0000e+00 6.0000e+00 7.0000e+00 8.0000e+00 9.0000e+00
4.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00
4.2000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00
4.4000e+00 1.5973e+01 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00
4.6000e+00 2.2817e+01 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00
4.8000e+00 1.8297e+02 2.0336e+02 1.9738e+02 1.8940e+02 1.7943e+02 1.6779e+02 1.5484e+02 1.4101e+02 1.2792e+02 1.1075e+02
5.0000e+00 1.5825e+02 1.9049e+02 1.8611e+02 1.7909e+02 1.6994e+02 1.5908e+02 1.4693e+02 1.3390e+02 1.1921e+02 1.0847e+02
5.2000e+00 1.2623e+01 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00
5.4000e+00 6.9484e-01 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00
5.6000e+00 1.2104e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00
5.8000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00
================================================================================
[toc] | [next] | [standalone]
| From | Karl <mail.kfr@gmx.net> |
|---|---|
| Date | 2014-08-07 13:39 +0200 |
| Message-ID | <lrvobq$vck$1@news.rz.uni-karlsruhe.de> |
| In reply to | #2547 |
Your data is text, not binary. Just leave out "binary". K Am 07.08.2014 12:48, schrieb nilay: >> splot 'jj31' matrix binary > 4.4000e+00 1.5973e+01 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 > 4.6000e+00 2.2817e+01 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 0.0000e+00 > 4.8000e+00 1.8297e+02 2.0336e+02 1.9738e+02 1.8940e+02 1.7943e+02 1.6779e+02 1.5484e+02 1.4101e+02 1.2792e+02 1.1075e+02
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web