Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3838 > unrolled thread
| Started by | Rana Rehan Khalid <ray.binm@gmail.com> |
|---|---|
| First post | 2017-12-20 07:45 -0800 |
| Last post | 2019-03-12 07:06 -0700 |
| Articles | 5 — 3 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Warning: 'gnuplot' returned 256 Rana Rehan Khalid <ray.binm@gmail.com> - 2017-12-20 07:45 -0800
Re: Warning: 'gnuplot' returned 256 Karl Ratzsch <mail.kfr@gmx.net> - 2017-12-20 19:40 +0100
Re: Warning: 'gnuplot' returned 256 Rana Rehan Khalid <ray.binm@gmail.com> - 2017-12-20 14:29 -0800
Re: Warning: 'gnuplot' returned 256 Rana Rehan Khalid <ray.binm@gmail.com> - 2017-12-20 14:35 -0800
Re: Warning: 'gnuplot' returned 256 myriamkhanna@gmail.com - 2019-03-12 07:06 -0700
| From | Rana Rehan Khalid <ray.binm@gmail.com> |
|---|---|
| Date | 2017-12-20 07:45 -0800 |
| Subject | Warning: 'gnuplot' returned 256 |
| Message-ID | <0921641e-371e-466e-81e4-6778affe23e4@googlegroups.com> |
ERROR message show when i tried to open .gnu file. I also copy the .gnu script lines kindly guide what is going wrong. Thanks
>gnuplot ss.gnu
set cbtics 0.000 7.000 1.0
^
"ss.gnu", line 10: increment must be positive
Warning: 'gnuplot' returned 256
script is here
set terminal jpeg size 1024,768
set output "ss.gnu.jpg"
set pm3d map corners2color c1
set ytics 1.000, 1.000
set ytics("MET:1" 1.000,"TYR:2
set cbrange [ -0.500: 7.500]
set cbtics 0.000 7.000 1.0
set palette maxcolors 8
set palette defined (0 "#000000",1 "#0000FF",4 "#00FF00",7 "#FF0000")
set cbtics("None" 0.000,"Para" 1.000,"Anti" 2.000,"3-10" 3.000,"Alpha" 4.000,"Pi" 5.000,"Turn" 6.000,"Bend" 7.000)
set xlabel "Frame"
set ylabel ""
set yrange [ 0.000: 191.000]
set xrange [ 0.000:84002.000]
splot "-" with pm3d title "ss.gnu"
1.000 1.000 0
1.000 2.000 2
[toc] | [next] | [standalone]
| From | Karl Ratzsch <mail.kfr@gmx.net> |
|---|---|
| Date | 2017-12-20 19:40 +0100 |
| Message-ID | <p1eaql$4i2$1@solani.org> |
| In reply to | #3838 |
Am 20.12.2017 um 16:45 schrieb Rana Rehan Khalid:
> ERROR message show when i tried to open .gnu file. I also copy the .gnu script lines kindly guide what is going wrong. Thanks
That scripts seems to be corrupted. Following lines make little sense:
> set ytics 1.000, 1.000
Why set ytics, when you change them again in the next line?
> set ytics("MET:1" 1.000,"TYR:2
Where is the closing bracket? I guess there is half a line missing.
> set cbtics 0.000 7.000 1.0
Interval zero makes no sense, although you can give any amount of
numbers here, the one actually used is the last one. That's a small
parser bug imo. You should give only one number here, and it must be
>0. (See "help xtics")
Also you have a second line with "set cbtics" further down, so you
can just delete this one.
You only give two lines of data, that's not enough to actually plot
anything.
Karl
[toc] | [prev] | [next] | [standalone]
| From | Rana Rehan Khalid <ray.binm@gmail.com> |
|---|---|
| Date | 2017-12-20 14:29 -0800 |
| Message-ID | <048f14c1-9b64-4046-a2a1-e789019d4bd3@googlegroups.com> |
| In reply to | #3839 |
Here is the complete script
set terminal jpeg size 1024,768
set output "dssp.gnu.jpg"
set pm3d map corners2color c1
set ytics 1.000, 1.000
set ytics("ASN:100" 1.000,"LEU:101" 2.000,"ASP:102" 3.000,"ALA:103" 4.000,"LEU:104" 5.000,"HD1:105" 6.000,"ASP:106" 7.000,"HIP:107" 8.000,"LEU:108" 9.000,"ALA:109" 10.000,"THR:110" 11.000,"ILE:111" 12.000,"TYR:112" 13.000,"PRO:113" 14.000,"GLY:114" 15.000,"MET:115" 16.000,"ARG:116" 17.000,"ALA:117" 18.000,"PRO:118" 19.000,"SER:119" 20.000,"PHE:120" 21.000,"ARG:121" 22.000,"CYS:122" 23.000,"THR:123" 24.000,"ASP:124" 25.000,"ALA:125" 26.000,"GLU:126" 27.000,"LYS:127" 28.000,"GLY:128" 29.000,"LYS:129" 30.000,"GLY:130" 31.000,"LEU:131" 32.000,"ILE:132" 33.000,"LEU:133" 34.000,"HIE:134" 35.000,"TYR:135" 36.000)
set cbrange [ -0.500: 7.500]
set cbtics 0.000 7.000 1.0
set palette maxcolors 8
set palette defined (0 "#000000",1 "#0000FF",4 "#00FF00",7 "#FF0000")
set cbtics("None" 0.000,"Para" 1.000,"Anti" 2.000,"3-10" 3.000,"Alpha" 4.000,"Pi" 5.000,"Turn" 6.000,"Bend" 7.000)
set xlabel "Frame"
set ylabel ""
set yrange [ 0.000: 38.000]
set xrange [ 0.000:7002.000]
splot "-" with pm3d title "dssp.gnu"
1.000 1.000 0
1.000 2.000 4
1.000 3.000 4
1.000 4.000 4
1.000 5.000 4
1.000 6.000 4
1.000 7.000 4
1.000 8.000 4
and so on ....
file is large
this script is produced by CPPTRAJ tool.
[toc] | [prev] | [next] | [standalone]
| From | Rana Rehan Khalid <ray.binm@gmail.com> |
|---|---|
| Date | 2017-12-20 14:35 -0800 |
| Message-ID | <cf2a42d2-aa72-42f4-9eaa-9366f6f71c30@googlegroups.com> |
| In reply to | #3839 |
On Wednesday, December 20, 2017 at 11:40:22 PM UTC+5, Karl Ratzsch wrote:
> Am 20.12.2017 um 16:45 schrieb Rana Rehan Khalid:
> > ERROR message show when i tried to open .gnu file. I also copy the .gnu script lines kindly guide what is going wrong. Thanks
>
> That scripts seems to be corrupted. Following lines make little sense:
>
> > set ytics 1.000, 1.000
> Why set ytics, when you change them again in the next line?
>
> > set ytics("MET:1" 1.000,"TYR:2
> Where is the closing bracket? I guess there is half a line missing.
>
> > set cbtics 0.000 7.000 1.0
>
> Interval zero makes no sense, although you can give any amount of
> numbers here, the one actually used is the last one. That's a small
> parser bug imo. You should give only one number here, and it must be
> >0. (See "help xtics")
>
> Also you have a second line with "set cbtics" further down, so you
> can just delete this one.
>
> You only give two lines of data, that's not enough to actually plot
> anything.
>
> Karl
Thank you so much. It works for me.
Best regards.
[toc] | [prev] | [next] | [standalone]
| From | myriamkhanna@gmail.com |
|---|---|
| Date | 2019-03-12 07:06 -0700 |
| Message-ID | <76905d15-4aaa-4746-9347-ed1816552381@googlegroups.com> |
| In reply to | #3841 |
On Wednesday, December 20, 2017 at 11:35:19 PM UTC+1, Rana Rehan Khalid wrote:
> On Wednesday, December 20, 2017 at 11:40:22 PM UTC+5, Karl Ratzsch wrote:
> > Am 20.12.2017 um 16:45 schrieb Rana Rehan Khalid:
> > > ERROR message show when i tried to open .gnu file. I also copy the .gnu script lines kindly guide what is going wrong. Thanks
> >
> > That scripts seems to be corrupted. Following lines make little sense:
> >
> > > set ytics 1.000, 1.000
> > Why set ytics, when you change them again in the next line?
> >
> > > set ytics("MET:1" 1.000,"TYR:2
> > Where is the closing bracket? I guess there is half a line missing.
> >
> > > set cbtics 0.000 7.000 1.0
> >
> > Interval zero makes no sense, although you can give any amount of
> > numbers here, the one actually used is the last one. That's a small
> > parser bug imo. You should give only one number here, and it must be
> > >0. (See "help xtics")
> >
> > Also you have a second line with "set cbtics" further down, so you
> > can just delete this one.
> >
> > You only give two lines of data, that's not enough to actually plot
> > anything.
> >
> > Karl
>
> Thank you so much. It works for me.
> Best regards.
Hello Rana, I have exactly the same problem, how did you manage to make it work?
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web