You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(2) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(22) |
May
(52) |
Jun
(43) |
Jul
(36) |
Aug
(59) |
Sep
(37) |
Oct
(55) |
Nov
(39) |
Dec
(36) |
| 2005 |
Jan
(64) |
Feb
(40) |
Mar
(62) |
Apr
(58) |
May
(256) |
Jun
(77) |
Jul
(80) |
Aug
(39) |
Sep
(56) |
Oct
(36) |
Nov
(113) |
Dec
(68) |
| 2006 |
Jan
(43) |
Feb
(64) |
Mar
(69) |
Apr
(60) |
May
(71) |
Jun
(53) |
Jul
(63) |
Aug
(63) |
Sep
(76) |
Oct
(85) |
Nov
(82) |
Dec
(73) |
| 2007 |
Jan
(75) |
Feb
(82) |
Mar
(84) |
Apr
(104) |
May
(67) |
Jun
(101) |
Jul
(107) |
Aug
(138) |
Sep
(128) |
Oct
(106) |
Nov
(112) |
Dec
(112) |
| 2008 |
Jan
(94) |
Feb
(87) |
Mar
(146) |
Apr
(169) |
May
(75) |
Jun
(26) |
Jul
(26) |
Aug
(7) |
Sep
(18) |
Oct
(53) |
Nov
(42) |
Dec
(19) |
| 2009 |
Jan
(43) |
Feb
(39) |
Mar
(18) |
Apr
(45) |
May
(66) |
Jun
(87) |
Jul
(56) |
Aug
(41) |
Sep
(56) |
Oct
(139) |
Nov
(98) |
Dec
(88) |
| 2010 |
Jan
(81) |
Feb
(79) |
Mar
(83) |
Apr
(97) |
May
(124) |
Jun
(84) |
Jul
(53) |
Aug
(85) |
Sep
(89) |
Oct
(50) |
Nov
(98) |
Dec
(78) |
| 2011 |
Jan
(97) |
Feb
(74) |
Mar
(68) |
Apr
(54) |
May
(63) |
Jun
(59) |
Jul
(65) |
Aug
(58) |
Sep
(37) |
Oct
(40) |
Nov
(59) |
Dec
(35) |
| 2012 |
Jan
(16) |
Feb
(56) |
Mar
(63) |
Apr
(25) |
May
(48) |
Jun
(58) |
Jul
(20) |
Aug
(13) |
Sep
(43) |
Oct
(35) |
Nov
(20) |
Dec
(17) |
| 2013 |
Jan
(22) |
Feb
(11) |
Mar
(51) |
Apr
(34) |
May
(57) |
Jun
(27) |
Jul
(70) |
Aug
(30) |
Sep
(38) |
Oct
(53) |
Nov
(40) |
Dec
(25) |
| 2014 |
Jan
(26) |
Feb
(35) |
Mar
(60) |
Apr
(12) |
May
(17) |
Jun
(15) |
Jul
(9) |
Aug
(18) |
Sep
(46) |
Oct
(18) |
Nov
(19) |
Dec
(15) |
| 2015 |
Jan
(17) |
Feb
(28) |
Mar
(21) |
Apr
(54) |
May
(36) |
Jun
(8) |
Jul
(30) |
Aug
(13) |
Sep
(3) |
Oct
(28) |
Nov
(3) |
Dec
(3) |
| 2016 |
Jan
(11) |
Feb
(9) |
Mar
(29) |
Apr
(10) |
May
(8) |
Jun
(5) |
Jul
(50) |
Aug
(57) |
Sep
(13) |
Oct
(5) |
Nov
(17) |
Dec
(11) |
| 2017 |
Jan
(3) |
Feb
(23) |
Mar
(16) |
Apr
(7) |
May
(15) |
Jun
(12) |
Jul
(48) |
Aug
(15) |
Sep
(3) |
Oct
(20) |
Nov
(28) |
Dec
(21) |
| 2018 |
Jan
(13) |
Feb
(21) |
Mar
(21) |
Apr
(7) |
May
(3) |
Jun
(7) |
Jul
(27) |
Aug
(38) |
Sep
(4) |
Oct
(30) |
Nov
(22) |
Dec
|
| 2019 |
Jan
(5) |
Feb
(16) |
Mar
(1) |
Apr
(9) |
May
(7) |
Jun
(20) |
Jul
(13) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(2) |
Dec
(4) |
| 2020 |
Jan
(6) |
Feb
(11) |
Mar
(1) |
Apr
(18) |
May
(4) |
Jun
(5) |
Jul
(12) |
Aug
(1) |
Sep
(3) |
Oct
(7) |
Nov
(1) |
Dec
(17) |
| 2021 |
Jan
(1) |
Feb
(11) |
Mar
(16) |
Apr
(6) |
May
(5) |
Jun
(1) |
Jul
(1) |
Aug
(2) |
Sep
(8) |
Oct
(10) |
Nov
(4) |
Dec
(4) |
| 2022 |
Jan
(9) |
Feb
(35) |
Mar
(4) |
Apr
|
May
(3) |
Jun
(49) |
Jul
(11) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(16) |
Dec
(13) |
| 2023 |
Jan
|
Feb
(8) |
Mar
(3) |
Apr
|
May
(8) |
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(2) |
| 2024 |
Jan
(6) |
Feb
(9) |
Mar
|
Apr
(26) |
May
(24) |
Jun
|
Jul
(4) |
Aug
(2) |
Sep
(1) |
Oct
(10) |
Nov
(9) |
Dec
|
| 2025 |
Jan
|
Feb
(22) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(4) |
| 2026 |
Jan
|
Feb
(24) |
Mar
(20) |
Apr
(18) |
May
(2) |
Jun
(2) |
Jul
(2) |
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Thomas S. <t.s...@fz...> - 2010-11-20 14:22:57
|
you have
set cbrange [0:115]
your data sets maximum value is 21
so you don't use the whole color range.
Vik_R wrote:
>
> Thanks for this info. I just tried it. It does get rid of the colorbox...
> but it also gets rid of most of the colors. Very odd.
>
> Is there a way to remove the colorbox without upsetting the color palette?
>
> Best,
>
>
> -Vik
>
>
> On Nov 18, 2010, at 11:38 AM, Thomas Sefzick wrote:
>
>>
>> maybe 'unset colorbox' is what you are searching for?
>>
>>
>> Vik_R wrote:
>>>
>>> I'm trying to turn off the legend in my plot, using "unset key" and "set
>>> key off", but the legend keeps being included in the plot. How can I fix
>>> this? Thanks in advance to all for any info.
>>>
>>> gnuplot commands:
>>> ------------------------
>>> unset surface
>>> unset key
>>> set key off
>>> set view map
>>> set pm3d
>>> set palette defined (0 'black', 1 'gray30', 1.5 'gray40', 2 'dark-blue',
>>> 8.21052631579 'dark-green', 18.4736842105 'light-green', 20.5263157895
>>> '#dac000', 24.6315789474 '#fee000', 30.7894736842 '#fc7a00',
>>> 36.9473684211 '#ff8000', 55.4210526316 '#ff5a00', 72.0986842105
>>> 'orange-red', 74.0657894737 '#ff0000', 78 'dark-red')
>>> set cbrange [0:115]
>>> set output '/Applications/htdocs/ftp/Heatmaps/heatMap_key6.jpg'
>>> set term jpeg size 600, 600 enhanced font '/Library/Fonts/Arial.ttf' 8
>>> set dgrid3d 200,200 splines
>>> set key off
>>> set size square
>>> set xtics("" 1, "Day 0" 2, "2-7\ndays" 3, "2\nWeeks" 4, "3\nWeeks" 5,
>>> "1\nMonth" 6, "2-3\nMonths" 7, "4-6\nMonths" 8, "7-12\nMonths" 9, "1
>>> Year+" 10 )
>>> set xtics out nomirror
>>> set ytics out nomirror
>>> set ytics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8,
>>> "9" 9, "10" 10, "" 11)
>>> set y2tics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8,
>>> "9" 9, "10" 10, "" 11)
>>> set xrange [0:11] reverse
>>> set yrange [0:11]
>>> splot [1:] '/Applications/htdocs/ftp/Heatmaps/dataFileKey_6' matrix
>>> replot
>>>
>>> data file:
>>> ----------
>>> 0 0 0 0 0 0 0 0 0 0 0 0
>>> 1 0 3 2 0 1 0 0 0 0 0 0
>>> 2 0 1 2 0 1 2 0 0 0 0 0
>>> 3 0 2 1 0 0 1 0 0 0 0 0
>>> 4 0 2 5 1 0 4 3 2 1 0 0
>>> 5 0 3 5 1 3 4 3 3 0 0 0
>>> 6 0 3 13 3 10 12 6 1 1 0 0
>>> 7 0 4 8 6 5 16 11 1 1 0 0
>>> 8 0 7 21 11 12 12 8 2 3 0 0
>>> 9 0 7 13 5 7 10 5 2 0 0 0
>>> 10 0 6 8 2 4 6 5 2 1 0 0
>>> 11 0 0 0 0 0 0 0 0 0 0 0
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Beautiful is writing same markup. Internet Explorer 9 supports
>>> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
>>> Spend less time writing and rewriting code and more time creating great
>>> experiences on the web. Be a part of the beta today
>>> http://p.sf.net/sfu/msIE9-sfdev2dev
>>> _______________________________________________
>>> gnuplot-info mailing list
>>> gnu...@li...
>>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Newbie-question---How-to-Turn-Off-Legend---tp30244529p30250531.html
>> Sent from the Gnuplot - User mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today
>> http://p.sf.net/sfu/msIE9-sfdev2dev
>> _______________________________________________
>> gnuplot-info mailing list
>> gnu...@li...
>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://old.nabble.com/Newbie-question---How-to-Turn-Off-Legend---tp30244529p30265683.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Anna <ann...@gm...> - 2010-11-20 01:25:22
|
Hi,
I try to change the color of each splot as below, but all the lines in the graph
still get the same color.
#!/usr/local/bin/gnuplot
r=rand(0); g=rand(0); b=rand(0)
set palette model RGB defined (0 r/cm g/cm b/cm, 1 r g b)
splot '</data/STAF/src/scripts/results/plot_data.sh ' u (A):2:3 w pm3d
A = A + 1
col = col + 1
if (col<=total_columns) reread
The above script is loaded from this script:
#!/bin/bash
total_columns=`awk 'NR==1{print NF}' /data/STAF/src/scripts/logs/d.txt`
echo "1"> /data/STAF/src/scripts/logs/column.txt
/usr/local/bin/gnuplot << EOF
reset
set term png size 800,400
unset key; unset colorbox
set tics out nomirror
set border 1+2+4+8+16+32+64+256+512 back
set xrange [0:$total_columns]; set cbrange [0:1]
set xlabel 'x axis [a.u.]'; set ylabel 'y axis [a.u.]';
set ticslevel 0
set output "/data/data/results/ribbon.png"
set table 'bg.dat'
splot x
unset table
set multiplot
set style line 1 lt -1 lw 0.5 ps 0
set pm3d depthorder hidden3d 1
A=1
col=1
cm=2.5
total_columns=$total_columns
load "/data/STAF/src/scripts/results/loop.gnu"
unset multiplot
EOF
Can anyone help me figure out what I am doing wrong?
Thanks
Anna
|
|
From: Jon <dev...@gm...> - 2010-11-19 18:30:59
|
Thanks so much for your detailed explanation! And, I just learned of the
dumb terminal, and I find it so cute!
Jon
On Fri, Nov 19, 2010 at 2:36 AM, Thomas Sefzick <t.s...@fz...>wrote:
>
> you need a dummy plot to set the xtics string.
>
> (1):
> $0 is the line number in the data set
> there must be no comma at the beginning of the xtics string,
> that's the reason for the 'do nothing' (here: copy t onto itself)
> for '$0==0'
>
> (2):
> no, the alternative is t=t.","
> the ternary operator ends at the comma.
> yes
>
> (3):
> it's good for a meaningless plot without warnings
>
> (4):
> yes
> no, we have to plot something, either into a table
> or into the 'dumb' terminal.
>
> a 'plot nothing' would be something like
> plot ... using (...):0/0 ...
> but this would give a warning about 'empty range' or so.
>
>
> bsmile wrote:
> >
> > Thank you very much for your interesting code! But the interpretation on
> > the
> > code is a bit beyond my capability. Here are some questions and I would
> be
> > very glad if there are further explanations.
> >
> > (1) what is $0? I only know there is $1,$2, ...
> >
> > (2) is t=t."," , t=t." '".stringcolumn(2)."' ".stringcolumn(1) , $1
> > the other alternative for $0==0?
> >
> > Does t=t."," , t=t." '".stringcolumn(2)."' ".stringcolumn(1) , $1
> actually
> > mean three separate commands?
> > t=t."," ,
> > t=t." '".stringcolumn(2)."' ".stringcolumn(1) ,
> > $1
> >
> > (3) What's the use of the final $1 in the above command? It does not help
> > building t, so does it just help to set up the table?
> >
> > (4) Actually the purpose of set table is to construct the macro t, is it?
> > If
> > the case, is there way to suppress the creation of the table? I mean, can
> > there be no output except for generating t?
> >
> > Sincerely,
> > Jon
> >
> >
> >
> > On Thu, Nov 18, 2010 at 1:58 PM, Thomas Sefzick
> > <t.s...@fz...>wrote:
> >
> >>
> >> set macro
> >> set table
> >> t="("
> >> plot 'aaa.txt' using ($0==0?t=t:t=t."," , t=t." '".stringcolumn(2)."'
> >> ".stringcolumn(1) , $1):3
> >> t=t.")"
> >> unset table
> >> set xtics @t
> >> plot 'aaa.txt' using 1:3
> >>
> >> pause -1
> >>
> >> set table
> >> t="("
> >> plot 'aaa.txt' using ($0==0?t=t:t=t."," , t=t."
> >> '".stringcolumn(1)."\n".stringcolumn(2)."' ".stringcolumn(1) , $1):3
> >> t=t.")"
> >> unset table
> >> set xtics @t
> >> set bmargin 3
> >> plot 'aaa.txt' using 1:3
> >>
> >>
> >> bsmile wrote:
> >> >
> >> > Hello,
> >> >
> >> > Suppose I have the following data file, aaa.txt,
> >> >
> >> > 1 A 0.1
> >> > 2 B 0.5
> >> > 3 C 0.23
> >> > 4 D 0.4
> >> > 5 E 0.32
> >> > 6 F 0.9
> >> >
> >> > and I want to use the second column to display at each xtics and
> >> replace
> >> > the
> >> > numbers, so that I get
> >> >
> >> > |
> >> > | graph displayed here
> >> > -----------------------------------------------
> >> > A B C D E F ...
> >> >
> >> > Or even further
> >> >
> >> > |
> >> > | graph displayed here
> >> > ---------------------------------------------
> >> > 1 2 3 4 5 . ....
> >> > A B C E F ....
> >> >
> >> > Is there way to realize these effects?
> >> >
> >> > Thanks!
> >> >
> >> > Sincerely,
> >> > Jon
> >> >
> >>
> ------------------------------------------------------------------------------
> >> > Beautiful is writing same markup. Internet Explorer 9 supports
> >> > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> >> > Spend less time writing and rewriting code and more time creating
> >> great
> >> > experiences on the web. Be a part of the beta today
> >> > http://p.sf.net/sfu/msIE9-sfdev2dev
> >> > _______________________________________________
> >> > gnuplot-info mailing list
> >> > gnu...@li...
> >> > https://lists.sourceforge.net/lists/listinfo/gnuplot-info
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/how-to-set-xtics-using-character-strings-saved-in-a-file-tp30245934p30250534.html
> >> Sent from the Gnuplot - User mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Beautiful is writing same markup. Internet Explorer 9 supports
> >> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> >> Spend less time writing and rewriting code and more time creating great
> >> experiences on the web. Be a part of the beta today
> >> http://p.sf.net/sfu/msIE9-sfdev2dev
> >> _______________________________________________
> >> gnuplot-info mailing list
> >> gnu...@li...
> >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
> >>
> >
> ------------------------------------------------------------------------------
> > Beautiful is writing same markup. Internet Explorer 9 supports
> > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> > Spend less time writing and rewriting code and more time creating great
> > experiences on the web. Be a part of the beta today
> > http://p.sf.net/sfu/msIE9-sfdev2dev
> > _______________________________________________
> > gnuplot-info mailing list
> > gnu...@li...
> > https://lists.sourceforge.net/lists/listinfo/gnuplot-info
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/how-to-set-xtics-using-character-strings-saved-in-a-file-tp30245934p30255657.html
> Sent from the Gnuplot - User mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: Thomas S. <t.s...@fz...> - 2010-11-19 08:36:54
|
you need a dummy plot to set the xtics string.
(1):
$0 is the line number in the data set
there must be no comma at the beginning of the xtics string,
that's the reason for the 'do nothing' (here: copy t onto itself)
for '$0==0'
(2):
no, the alternative is t=t.","
the ternary operator ends at the comma.
yes
(3):
it's good for a meaningless plot without warnings
(4):
yes
no, we have to plot something, either into a table
or into the 'dumb' terminal.
a 'plot nothing' would be something like
plot ... using (...):0/0 ...
but this would give a warning about 'empty range' or so.
bsmile wrote:
>
> Thank you very much for your interesting code! But the interpretation on
> the
> code is a bit beyond my capability. Here are some questions and I would be
> very glad if there are further explanations.
>
> (1) what is $0? I only know there is $1,$2, ...
>
> (2) is t=t."," , t=t." '".stringcolumn(2)."' ".stringcolumn(1) , $1
> the other alternative for $0==0?
>
> Does t=t."," , t=t." '".stringcolumn(2)."' ".stringcolumn(1) , $1 actually
> mean three separate commands?
> t=t."," ,
> t=t." '".stringcolumn(2)."' ".stringcolumn(1) ,
> $1
>
> (3) What's the use of the final $1 in the above command? It does not help
> building t, so does it just help to set up the table?
>
> (4) Actually the purpose of set table is to construct the macro t, is it?
> If
> the case, is there way to suppress the creation of the table? I mean, can
> there be no output except for generating t?
>
> Sincerely,
> Jon
>
>
>
> On Thu, Nov 18, 2010 at 1:58 PM, Thomas Sefzick
> <t.s...@fz...>wrote:
>
>>
>> set macro
>> set table
>> t="("
>> plot 'aaa.txt' using ($0==0?t=t:t=t."," , t=t." '".stringcolumn(2)."'
>> ".stringcolumn(1) , $1):3
>> t=t.")"
>> unset table
>> set xtics @t
>> plot 'aaa.txt' using 1:3
>>
>> pause -1
>>
>> set table
>> t="("
>> plot 'aaa.txt' using ($0==0?t=t:t=t."," , t=t."
>> '".stringcolumn(1)."\n".stringcolumn(2)."' ".stringcolumn(1) , $1):3
>> t=t.")"
>> unset table
>> set xtics @t
>> set bmargin 3
>> plot 'aaa.txt' using 1:3
>>
>>
>> bsmile wrote:
>> >
>> > Hello,
>> >
>> > Suppose I have the following data file, aaa.txt,
>> >
>> > 1 A 0.1
>> > 2 B 0.5
>> > 3 C 0.23
>> > 4 D 0.4
>> > 5 E 0.32
>> > 6 F 0.9
>> >
>> > and I want to use the second column to display at each xtics and
>> replace
>> > the
>> > numbers, so that I get
>> >
>> > |
>> > | graph displayed here
>> > -----------------------------------------------
>> > A B C D E F ...
>> >
>> > Or even further
>> >
>> > |
>> > | graph displayed here
>> > ---------------------------------------------
>> > 1 2 3 4 5 . ....
>> > A B C E F ....
>> >
>> > Is there way to realize these effects?
>> >
>> > Thanks!
>> >
>> > Sincerely,
>> > Jon
>> >
>> ------------------------------------------------------------------------------
>> > Beautiful is writing same markup. Internet Explorer 9 supports
>> > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
>> > Spend less time writing and rewriting code and more time creating
>> great
>> > experiences on the web. Be a part of the beta today
>> > http://p.sf.net/sfu/msIE9-sfdev2dev
>> > _______________________________________________
>> > gnuplot-info mailing list
>> > gnu...@li...
>> > https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/how-to-set-xtics-using-character-strings-saved-in-a-file-tp30245934p30250534.html
>> Sent from the Gnuplot - User mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today
>> http://p.sf.net/sfu/msIE9-sfdev2dev
>> _______________________________________________
>> gnuplot-info mailing list
>> gnu...@li...
>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://old.nabble.com/how-to-set-xtics-using-character-strings-saved-in-a-file-tp30245934p30255657.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Vik R. <vi...@mi...> - 2010-11-19 02:02:52
|
Thanks for this info. I just tried it. It does get rid of the colorbox... but it also gets rid of most of the colors. Very odd.
Is there a way to remove the colorbox without upsetting the color palette?
Best,
-Vik
On Nov 18, 2010, at 11:38 AM, Thomas Sefzick wrote:
>
> maybe 'unset colorbox' is what you are searching for?
>
>
> Vik_R wrote:
>>
>> I'm trying to turn off the legend in my plot, using "unset key" and "set
>> key off", but the legend keeps being included in the plot. How can I fix
>> this? Thanks in advance to all for any info.
>>
>> gnuplot commands:
>> ------------------------
>> unset surface
>> unset key
>> set key off
>> set view map
>> set pm3d
>> set palette defined (0 'black', 1 'gray30', 1.5 'gray40', 2 'dark-blue',
>> 8.21052631579 'dark-green', 18.4736842105 'light-green', 20.5263157895
>> '#dac000', 24.6315789474 '#fee000', 30.7894736842 '#fc7a00',
>> 36.9473684211 '#ff8000', 55.4210526316 '#ff5a00', 72.0986842105
>> 'orange-red', 74.0657894737 '#ff0000', 78 'dark-red')
>> set cbrange [0:115]
>> set output '/Applications/htdocs/ftp/Heatmaps/heatMap_key6.jpg'
>> set term jpeg size 600, 600 enhanced font '/Library/Fonts/Arial.ttf' 8
>> set dgrid3d 200,200 splines
>> set key off
>> set size square
>> set xtics("" 1, "Day 0" 2, "2-7\ndays" 3, "2\nWeeks" 4, "3\nWeeks" 5,
>> "1\nMonth" 6, "2-3\nMonths" 7, "4-6\nMonths" 8, "7-12\nMonths" 9, "1
>> Year+" 10 )
>> set xtics out nomirror
>> set ytics out nomirror
>> set ytics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8,
>> "9" 9, "10" 10, "" 11)
>> set y2tics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8,
>> "9" 9, "10" 10, "" 11)
>> set xrange [0:11] reverse
>> set yrange [0:11]
>> splot [1:] '/Applications/htdocs/ftp/Heatmaps/dataFileKey_6' matrix
>> replot
>>
>> data file:
>> ----------
>> 0 0 0 0 0 0 0 0 0 0 0 0
>> 1 0 3 2 0 1 0 0 0 0 0 0
>> 2 0 1 2 0 1 2 0 0 0 0 0
>> 3 0 2 1 0 0 1 0 0 0 0 0
>> 4 0 2 5 1 0 4 3 2 1 0 0
>> 5 0 3 5 1 3 4 3 3 0 0 0
>> 6 0 3 13 3 10 12 6 1 1 0 0
>> 7 0 4 8 6 5 16 11 1 1 0 0
>> 8 0 7 21 11 12 12 8 2 3 0 0
>> 9 0 7 13 5 7 10 5 2 0 0 0
>> 10 0 6 8 2 4 6 5 2 1 0 0
>> 11 0 0 0 0 0 0 0 0 0 0 0
>>
>>
>> ------------------------------------------------------------------------------
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today
>> http://p.sf.net/sfu/msIE9-sfdev2dev
>> _______________________________________________
>> gnuplot-info mailing list
>> gnu...@li...
>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Newbie-question---How-to-Turn-Off-Legend---tp30244529p30250531.html
> Sent from the Gnuplot - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: Jon <dev...@gm...> - 2010-11-18 21:44:09
|
Thank you very much for your interesting code! But the interpretation on the
code is a bit beyond my capability. Here are some questions and I would be
very glad if there are further explanations.
(1) what is $0? I only know there is $1,$2, ...
(2) is t=t."," , t=t." '".stringcolumn(2)."' ".stringcolumn(1) , $1
the other alternative for $0==0?
Does t=t."," , t=t." '".stringcolumn(2)."' ".stringcolumn(1) , $1 actually
mean three separate commands?
t=t."," ,
t=t." '".stringcolumn(2)."' ".stringcolumn(1) ,
$1
(3) What's the use of the final $1 in the above command? It does not help
building t, so does it just help to set up the table?
(4) Actually the purpose of set table is to construct the macro t, is it? If
the case, is there way to suppress the creation of the table? I mean, can
there be no output except for generating t?
Sincerely,
Jon
On Thu, Nov 18, 2010 at 1:58 PM, Thomas Sefzick <t.s...@fz...>wrote:
>
> set macro
> set table
> t="("
> plot 'aaa.txt' using ($0==0?t=t:t=t."," , t=t." '".stringcolumn(2)."'
> ".stringcolumn(1) , $1):3
> t=t.")"
> unset table
> set xtics @t
> plot 'aaa.txt' using 1:3
>
> pause -1
>
> set table
> t="("
> plot 'aaa.txt' using ($0==0?t=t:t=t."," , t=t."
> '".stringcolumn(1)."\n".stringcolumn(2)."' ".stringcolumn(1) , $1):3
> t=t.")"
> unset table
> set xtics @t
> set bmargin 3
> plot 'aaa.txt' using 1:3
>
>
> bsmile wrote:
> >
> > Hello,
> >
> > Suppose I have the following data file, aaa.txt,
> >
> > 1 A 0.1
> > 2 B 0.5
> > 3 C 0.23
> > 4 D 0.4
> > 5 E 0.32
> > 6 F 0.9
> >
> > and I want to use the second column to display at each xtics and replace
> > the
> > numbers, so that I get
> >
> > |
> > | graph displayed here
> > -----------------------------------------------
> > A B C D E F ...
> >
> > Or even further
> >
> > |
> > | graph displayed here
> > ---------------------------------------------
> > 1 2 3 4 5 . ....
> > A B C E F ....
> >
> > Is there way to realize these effects?
> >
> > Thanks!
> >
> > Sincerely,
> > Jon
> >
> ------------------------------------------------------------------------------
> > Beautiful is writing same markup. Internet Explorer 9 supports
> > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> > Spend less time writing and rewriting code and more time creating great
> > experiences on the web. Be a part of the beta today
> > http://p.sf.net/sfu/msIE9-sfdev2dev
> > _______________________________________________
> > gnuplot-info mailing list
> > gnu...@li...
> > https://lists.sourceforge.net/lists/listinfo/gnuplot-info
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/how-to-set-xtics-using-character-strings-saved-in-a-file-tp30245934p30250534.html
> Sent from the Gnuplot - User mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: Thomas S. <t.s...@fz...> - 2010-11-18 19:59:06
|
set macro
set table
t="("
plot 'aaa.txt' using ($0==0?t=t:t=t."," , t=t." '".stringcolumn(2)."'
".stringcolumn(1) , $1):3
t=t.")"
unset table
set xtics @t
plot 'aaa.txt' using 1:3
pause -1
set table
t="("
plot 'aaa.txt' using ($0==0?t=t:t=t."," , t=t."
'".stringcolumn(1)."\n".stringcolumn(2)."' ".stringcolumn(1) , $1):3
t=t.")"
unset table
set xtics @t
set bmargin 3
plot 'aaa.txt' using 1:3
bsmile wrote:
>
> Hello,
>
> Suppose I have the following data file, aaa.txt,
>
> 1 A 0.1
> 2 B 0.5
> 3 C 0.23
> 4 D 0.4
> 5 E 0.32
> 6 F 0.9
>
> and I want to use the second column to display at each xtics and replace
> the
> numbers, so that I get
>
> |
> | graph displayed here
> -----------------------------------------------
> A B C D E F ...
>
> Or even further
>
> |
> | graph displayed here
> ---------------------------------------------
> 1 2 3 4 5 . ....
> A B C E F ....
>
> Is there way to realize these effects?
>
> Thanks!
>
> Sincerely,
> Jon
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://old.nabble.com/how-to-set-xtics-using-character-strings-saved-in-a-file-tp30245934p30250534.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Thomas S. <t.s...@fz...> - 2010-11-18 19:38:49
|
maybe 'unset colorbox' is what you are searching for?
Vik_R wrote:
>
> I'm trying to turn off the legend in my plot, using "unset key" and "set
> key off", but the legend keeps being included in the plot. How can I fix
> this? Thanks in advance to all for any info.
>
> gnuplot commands:
> ------------------------
> unset surface
> unset key
> set key off
> set view map
> set pm3d
> set palette defined (0 'black', 1 'gray30', 1.5 'gray40', 2 'dark-blue',
> 8.21052631579 'dark-green', 18.4736842105 'light-green', 20.5263157895
> '#dac000', 24.6315789474 '#fee000', 30.7894736842 '#fc7a00',
> 36.9473684211 '#ff8000', 55.4210526316 '#ff5a00', 72.0986842105
> 'orange-red', 74.0657894737 '#ff0000', 78 'dark-red')
> set cbrange [0:115]
> set output '/Applications/htdocs/ftp/Heatmaps/heatMap_key6.jpg'
> set term jpeg size 600, 600 enhanced font '/Library/Fonts/Arial.ttf' 8
> set dgrid3d 200,200 splines
> set key off
> set size square
> set xtics("" 1, "Day 0" 2, "2-7\ndays" 3, "2\nWeeks" 4, "3\nWeeks" 5,
> "1\nMonth" 6, "2-3\nMonths" 7, "4-6\nMonths" 8, "7-12\nMonths" 9, "1
> Year+" 10 )
> set xtics out nomirror
> set ytics out nomirror
> set ytics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8,
> "9" 9, "10" 10, "" 11)
> set y2tics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8,
> "9" 9, "10" 10, "" 11)
> set xrange [0:11] reverse
> set yrange [0:11]
> splot [1:] '/Applications/htdocs/ftp/Heatmaps/dataFileKey_6' matrix
> replot
>
> data file:
> ----------
> 0 0 0 0 0 0 0 0 0 0 0 0
> 1 0 3 2 0 1 0 0 0 0 0 0
> 2 0 1 2 0 1 2 0 0 0 0 0
> 3 0 2 1 0 0 1 0 0 0 0 0
> 4 0 2 5 1 0 4 3 2 1 0 0
> 5 0 3 5 1 3 4 3 3 0 0 0
> 6 0 3 13 3 10 12 6 1 1 0 0
> 7 0 4 8 6 5 16 11 1 1 0 0
> 8 0 7 21 11 12 12 8 2 3 0 0
> 9 0 7 13 5 7 10 5 2 0 0 0
> 10 0 6 8 2 4 6 5 2 1 0 0
> 11 0 0 0 0 0 0 0 0 0 0 0
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://old.nabble.com/Newbie-question---How-to-Turn-Off-Legend---tp30244529p30250531.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Jon <dev...@gm...> - 2010-11-18 08:50:55
|
Hello, Suppose I have the following data file, aaa.txt, 1 A 0.1 2 B 0.5 3 C 0.23 4 D 0.4 5 E 0.32 6 F 0.9 and I want to use the second column to display at each xtics and replace the numbers, so that I get | | graph displayed here ----------------------------------------------- A B C D E F ... Or even further | | graph displayed here --------------------------------------------- 1 2 3 4 5 . .... A B C E F .... Is there way to realize these effects? Thanks! Sincerely, Jon |
|
From: Vik R. <vi...@mi...> - 2010-11-18 02:32:17
|
I'm trying to turn off the legend in my plot, using "unset key" and "set key off", but the legend keeps being included in the plot. How can I fix this? Thanks in advance to all for any info.
gnuplot commands:
------------------------
unset surface
unset key
set key off
set view map
set pm3d
set palette defined (0 'black', 1 'gray30', 1.5 'gray40', 2 'dark-blue', 8.21052631579 'dark-green', 18.4736842105 'light-green', 20.5263157895 '#dac000', 24.6315789474 '#fee000', 30.7894736842 '#fc7a00', 36.9473684211 '#ff8000', 55.4210526316 '#ff5a00', 72.0986842105 'orange-red', 74.0657894737 '#ff0000', 78 'dark-red')
set cbrange [0:115]
set output '/Applications/htdocs/ftp/Heatmaps/heatMap_key6.jpg'
set term jpeg size 600, 600 enhanced font '/Library/Fonts/Arial.ttf' 8
set dgrid3d 200,200 splines
set key off
set size square
set xtics("" 1, "Day 0" 2, "2-7\ndays" 3, "2\nWeeks" 4, "3\nWeeks" 5, "1\nMonth" 6, "2-3\nMonths" 7, "4-6\nMonths" 8, "7-12\nMonths" 9, "1 Year+" 10 )
set xtics out nomirror
set ytics out nomirror
set ytics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8, "9" 9, "10" 10, "" 11)
set y2tics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8, "9" 9, "10" 10, "" 11)
set xrange [0:11] reverse
set yrange [0:11]
splot [1:] '/Applications/htdocs/ftp/Heatmaps/dataFileKey_6' matrix
replot
data file:
----------
0 0 0 0 0 0 0 0 0 0 0 0
1 0 3 2 0 1 0 0 0 0 0 0
2 0 1 2 0 1 2 0 0 0 0 0
3 0 2 1 0 0 1 0 0 0 0 0
4 0 2 5 1 0 4 3 2 1 0 0
5 0 3 5 1 3 4 3 3 0 0 0
6 0 3 13 3 10 12 6 1 1 0 0
7 0 4 8 6 5 16 11 1 1 0 0
8 0 7 21 11 12 12 8 2 3 0 0
9 0 7 13 5 7 10 5 2 0 0 0
10 0 6 8 2 4 6 5 2 1 0 0
11 0 0 0 0 0 0 0 0 0 0 0
|
|
From: Vik R. <vi...@mi...> - 2010-11-16 17:10:48
|
Hi Thomas, Thanks for the feedback. I find I get a great look with the splines algorithm: set cbrange [0:115] //without this for some reason I get colors assigned to negative values, even though there are no negative values in the data being plotted set dgrid3d 400,400 splines I think my client will like this look. However, previously, they have been accustomed to the look you get on a contour chart in Excel or DeltaGraph - a look with angled, straight lines. Examples: Link to Excel sample chart: http://www.market-research-services.com/Temporary/Excel-sample.jpg Link to DeltaGraph sample chart: http://www.market-research-services.com/Temporary/DeltaGraph-sample.jpg Is there a way to get this look with Gnuplot? (I'm pretty sure there isn't because I've tried all the dgrid algorithms, but possibly I'm missing something.) And the next question: if the Excel way is such a standard that it is used by Excel and DeltaGraph - why doesn't gnuplot use it also? I'm hoping there's a very good reason that I can tell my client if they ask me. :) Thanks in advance to all for any info! Best, -Vik On Nov 16, 2010, at 3:03 AM, Thomas Sefzick wrote: > Vik Rubenfeld <vikr <at> mindspring.com> writes: > >> >> When I run a sample contour chart in Excel and in DeltaGraph, I get a > different look than I do with the false >> color map in gnuplot. The Excel and DeltaGraph charts have very straight, > angled edges, which my client >> prefers. The gnuplot chart is in squarish blocks. Is it possible to avoid this > squarish blocky look, and to >> get this look that we find in Excel and Deltagraph charts, with a gnuplot > false color or contour chart? >> ... >> gnuplot commands: >> ... >> set dgrid3d 400,400 gauss 0.35,0.35 >> ... >> splot [1:] '/Applications/Heatmaps/htdocs/ftp/Heatmaps/dataFileKey_30' matrix >> ... > > change the dx,dy values in the 'set dgrid3d' command, e.g. > > set dgrid3d 400,400 gauss 0.7,0.7 > > > > > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today > http://p.sf.net/sfu/msIE9-sfdev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Thomas S. <t.s...@fz...> - 2010-11-16 11:03:43
|
Vik Rubenfeld <vikr <at> mindspring.com> writes: > > When I run a sample contour chart in Excel and in DeltaGraph, I get a different look than I do with the false > color map in gnuplot. The Excel and DeltaGraph charts have very straight, angled edges, which my client > prefers. The gnuplot chart is in squarish blocks. Is it possible to avoid this squarish blocky look, and to > get this look that we find in Excel and Deltagraph charts, with a gnuplot false color or contour chart? > ... > gnuplot commands: > ... > set dgrid3d 400,400 gauss 0.35,0.35 > ... > splot [1:] '/Applications/Heatmaps/htdocs/ftp/Heatmaps/dataFileKey_30' matrix > ... change the dx,dy values in the 'set dgrid3d' command, e.g. set dgrid3d 400,400 gauss 0.7,0.7 |
|
From: Seoane A. T. <ts...@e-...> - 2010-11-16 10:10:00
|
Hi! I have this simple question: When you use this palette with a range from 0 to 3: set palette model RGB defined (0 "green", 1 "dark-green", 1 "yellow", 2 "dark-yellow", 2 "red", 3 "dark-red" ) What colours take the values 1 and 2? Always the first one? (dark-green and dark-yellow) Always the second one? (yellow and red) Is there a way to select the colour that will be chosen in the palette jump? Thank you! Teo |
|
From: James P. <jam...@ho...> - 2010-11-15 20:54:54
|
Hi all,
I'm having a problem with gnuplot using another piece of software called fastx.
I installed gnuplot version
4.4.2.
I'm running Mac OSX 10.5.8, g++ v4.0.1
fastq_quality_boxplot_graph.sh -i stats_3 -t R43s_3_sequence_Ax28H.fastq -o boxplot_3
gnuplot> set term png size 2048,768
^
line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list
gnuplot> plot 'stats_3' using 1:7:11:12:9 with candlesticks lt 1 lw 1
title 'Quartiles' whiskerbars, '' using 1:8:8:8:8 with
candlesticks lt -1 lw 2 title 'Medians'
^
line 0: use 'set term' to set terminal type first
Hope you can help. James
|
|
From: Vik R. <vi...@mi...> - 2010-11-15 03:36:26
|
When I run a sample contour chart in Excel and in DeltaGraph, I get a different look than I do with the false color map in gnuplot. The Excel and DeltaGraph charts have very straight, angled edges, which my client prefers. The gnuplot chart is in squarish blocks. Is it possible to avoid this squarish blocky look, and to get this look that we find in Excel and Deltagraph charts, with a gnuplot false color or contour chart? Link to Excel sample chart: http://www.market-research-services.com/Temporary/Excel-sample.jpg Link to DeltaGraph sample chart: http://www.market-research-services.com/Temporary/DeltaGraph-sample.jpg Link to Gnuplot sample chart: http://www.market-research-services.com/Temporary/gnuplot-sample.jpg Link to datafile: http://www.market-research-services.com/Temporary/dataFileKey_30 Thanks very much in advance for any info. Best, -Vik gnuplot commands: unset surface unset key set view map set pm3d set palette defined (0 'black', 2 'gray50', 3 'dark-blue', 8.43243243243 'dark-green', 18.972972973 'light-green', 20.5263157895 '#dac000', 30.7894736842 '#fee000', 32.8421052632 '#ff8000', 55.4210526316 '#ff5a00', 66.7105263158 'orange-red', 78 'dark-red') set output '/Applications/Heatmaps/htdocs/ftp/Heatmaps/heatMap_key30.jpg' set term jpeg size 600, 600 enhanced font '/Library/Fonts/arial.ttf' 8 set dgrid3d 400,400 gauss 0.35,0.35 set size square set xtics("" 1, "Day 0" 2, "2-7\ndays" 3, "2\nWeeks" 4, "3\nWeeks" 5, "1\nMonth" 6, "2-3\nMonths" 7, "4-6\nMonths" 8, "7-12\nMonths" 9, "1 Year+" 10 ) set title '{/=18 Chart Title}' offset 0, .5 set ylabel '{/=16 Degree of Influence}' offset -1.6, 0 set xlabel '{/=16 Days from Purchase}' offset 0,-1.6 set xtics out nomirror set ytics out nomirror set ytics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8, "9" 9, "10" 10, "" 11) set y2tics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8, "9" 9, "10" 10, "" 11) set xrange [0:11] reverse set yrange [0:11] splot [1:] '/Applications/Heatmaps/htdocs/ftp/Heatmaps/dataFileKey_30' matrix replot |
|
From: Vik R. <vi...@mi...> - 2010-11-15 03:36:26
|
I just sent it to the list. Sorry if it got attached to the thread for your post. I will resend. Best, -Vik On Nov 14, 2010, at 6:59 PM, arnold4life wrote: > > How does this relate to my original post...? > > > Vik_R wrote: >> >> When I run a sample contour chart in Excel and in DeltaGraph, I get a >> different look than I do with the false color map in gnuplot. The Excel >> and DeltaGraph charts have very straight, angled edges, which my client >> prefers. The gnuplot chart is in squarish blocks. Is it possible to avoid >> this squarish blocky look, and to get this look that we find in Excel and >> Deltagraph charts, with a gnuplot false color or contour chart? >> >> Link to Excel sample chart: >> http://www.market-research-services.com/Temporary/Excel-sample.jpg >> >> Link to DeltaGraph sample chart: >> http://www.market-research-services.com/Temporary/DeltaGraph-sample.jpg >> >> Link to Gnuplot sample chart: >> http://www.market-research-services.com/Temporary/gnuplot-sample.jpg >> >> Link to datafile: >> http://www.market-research-services.com/Temporary/dataFileKey_30 >> >> Thanks very much in advance for any info. >> >> Best, >> >> >> -Vik >> >> >> >> >> gnuplot commands: >> unset surface >> unset key >> set view map >> set pm3d >> set palette defined (0 'black', 2 'gray50', 3 'dark-blue', 8.43243243243 >> 'dark-green', 18.972972973 'light-green', 20.5263157895 '#dac000', >> 30.7894736842 '#fee000', 32.8421052632 '#ff8000', 55.4210526316 '#ff5a00', >> 66.7105263158 'orange-red', 78 'dark-red') >> set output '/Applications/Heatmaps/htdocs/ftp/Heatmaps/heatMap_key30.jpg' >> >> set term jpeg size 600, 600 enhanced font '/Library/Fonts/arial.ttf' 8 >> set dgrid3d 400,400 gauss 0.35,0.35 >> set size square >> set xtics("" 1, "Day 0" 2, "2-7\ndays" 3, "2\nWeeks" 4, "3\nWeeks" 5, >> "1\nMonth" 6, "2-3\nMonths" 7, "4-6\nMonths" 8, "7-12\nMonths" 9, "1 >> Year+" 10 ) >> set title '{/=18 Chart Title}' offset 0, .5 >> set ylabel '{/=16 Degree of Influence}' offset -1.6, 0 >> set xlabel '{/=16 Days from Purchase}' offset 0,-1.6 >> set xtics out nomirror >> set ytics out nomirror >> set ytics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8, >> "9" 9, "10" 10, "" 11) >> set y2tics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8, >> "9" 9, "10" 10, "" 11) >> set xrange [0:11] reverse >> set yrange [0:11] >> splot [1:] '/Applications/Heatmaps/htdocs/ftp/Heatmaps/dataFileKey_30' >> matrix >> >> replot >> ------------------------------------------------------------------------------ >> Centralized Desktop Delivery: Dell and VMware Reference Architecture >> Simplifying enterprise desktop deployment and management using >> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end >> client virtualization framework. Read more! >> http://p.sf.net/sfu/dell-eql-dev2dev >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> >> > > -- > View this message in context: http://old.nabble.com/Histogram-Bar-Plot-Troubles-tp30208070p30215322.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: arnold4life <chr...@ho...> - 2010-11-15 02:59:11
|
How does this relate to my original post...? Vik_R wrote: > > When I run a sample contour chart in Excel and in DeltaGraph, I get a > different look than I do with the false color map in gnuplot. The Excel > and DeltaGraph charts have very straight, angled edges, which my client > prefers. The gnuplot chart is in squarish blocks. Is it possible to avoid > this squarish blocky look, and to get this look that we find in Excel and > Deltagraph charts, with a gnuplot false color or contour chart? > > Link to Excel sample chart: > http://www.market-research-services.com/Temporary/Excel-sample.jpg > > Link to DeltaGraph sample chart: > http://www.market-research-services.com/Temporary/DeltaGraph-sample.jpg > > Link to Gnuplot sample chart: > http://www.market-research-services.com/Temporary/gnuplot-sample.jpg > > Link to datafile: > http://www.market-research-services.com/Temporary/dataFileKey_30 > > Thanks very much in advance for any info. > > Best, > > > -Vik > > > > > gnuplot commands: > unset surface > unset key > set view map > set pm3d > set palette defined (0 'black', 2 'gray50', 3 'dark-blue', 8.43243243243 > 'dark-green', 18.972972973 'light-green', 20.5263157895 '#dac000', > 30.7894736842 '#fee000', 32.8421052632 '#ff8000', 55.4210526316 '#ff5a00', > 66.7105263158 'orange-red', 78 'dark-red') > set output '/Applications/Heatmaps/htdocs/ftp/Heatmaps/heatMap_key30.jpg' > > set term jpeg size 600, 600 enhanced font '/Library/Fonts/arial.ttf' 8 > set dgrid3d 400,400 gauss 0.35,0.35 > set size square > set xtics("" 1, "Day 0" 2, "2-7\ndays" 3, "2\nWeeks" 4, "3\nWeeks" 5, > "1\nMonth" 6, "2-3\nMonths" 7, "4-6\nMonths" 8, "7-12\nMonths" 9, "1 > Year+" 10 ) > set title '{/=18 Chart Title}' offset 0, .5 > set ylabel '{/=16 Degree of Influence}' offset -1.6, 0 > set xlabel '{/=16 Days from Purchase}' offset 0,-1.6 > set xtics out nomirror > set ytics out nomirror > set ytics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8, > "9" 9, "10" 10, "" 11) > set y2tics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8, > "9" 9, "10" 10, "" 11) > set xrange [0:11] reverse > set yrange [0:11] > splot [1:] '/Applications/Heatmaps/htdocs/ftp/Heatmaps/dataFileKey_30' > matrix > > replot > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/Histogram-Bar-Plot-Troubles-tp30208070p30215322.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Tatsuro M. <tma...@ya...> - 2010-11-15 01:49:59
|
Hello What version gnuplot are you using now? Which platform are you using ? The png terminal depends on the libgd. >From version 4.4 of gnuplot, - External support library libgd version 2.0.36 introduces a new method of font selection using the fontconfig utitily. We try to automatically accommodate this, but it has not been extensively tested. Anyway, for the traditional style font selection (before 4.4), please read help gd The environmental variable GDFONTPATH is important. For the font selection via fontconfig are also used for the wxt, pngcairo, and pdfcairo. The existence and location of etc/fonts/fonts.conf is important. --- Jon wrote: > Hello Guys, > > I tried to generate png file. I firstly tried > > convert aaa.eps -resize 640 480 aaa.png > > outside gnuplot, but the plot is smeared out due to magnification. > > So, I tried to generate png file within gnuplot using set term png, but it > complains > > gdImageStringFT: Could not find/open font while printing string Experiment > with font Times-Roman > gdImageStringFT: Could not find/open font while printing string Experiment > with font Times-Roman > gdImageStringFT: Could not find/open font while printing string Calculation > with font Times-Roman > gdImageStringFT: Could not find/open font while printing string Calculation > with font Times-Roman > ... > > I did some google search and found that it could be that png cannot find the > required path to the font, so I included the path as the following, > > set term png font "/home/.../fmaker55/fminit/fontdir/Times-Roman.pfa" 12 > enhanced > > this is the only Times-Roman file I can find in the computer with ttf or pfa > surrfix. > > But it still complains the same thing. > > Any idea to help me solve the png generation problem? > > Thanks a lot! > > Sincerely, > Jon > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -------------------------------------- Get the new Internet Explorer 8 optimized for Yahoo! JAPAN http://pr.mail.yahoo.co.jp/ie8/ |
|
From: Vik R. <vi...@mi...> - 2010-11-14 19:14:27
|
When I run a sample contour chart in Excel and in DeltaGraph, I get a different look than I do with the false color map in gnuplot. The Excel and DeltaGraph charts have very straight, angled edges, which my client prefers. The gnuplot chart is in squarish blocks. Is it possible to avoid this squarish blocky look, and to get this look that we find in Excel and Deltagraph charts, with a gnuplot false color or contour chart? Link to Excel sample chart: http://www.market-research-services.com/Temporary/Excel-sample.jpg Link to DeltaGraph sample chart: http://www.market-research-services.com/Temporary/DeltaGraph-sample.jpg Link to Gnuplot sample chart: http://www.market-research-services.com/Temporary/gnuplot-sample.jpg Link to datafile: http://www.market-research-services.com/Temporary/dataFileKey_30 Thanks very much in advance for any info. Best, -Vik gnuplot commands: unset surface unset key set view map set pm3d set palette defined (0 'black', 2 'gray50', 3 'dark-blue', 8.43243243243 'dark-green', 18.972972973 'light-green', 20.5263157895 '#dac000', 30.7894736842 '#fee000', 32.8421052632 '#ff8000', 55.4210526316 '#ff5a00', 66.7105263158 'orange-red', 78 'dark-red') set output '/Applications/Heatmaps/htdocs/ftp/Heatmaps/heatMap_key30.jpg' set term jpeg size 600, 600 enhanced font '/Library/Fonts/arial.ttf' 8 set dgrid3d 400,400 gauss 0.35,0.35 set size square set xtics("" 1, "Day 0" 2, "2-7\ndays" 3, "2\nWeeks" 4, "3\nWeeks" 5, "1\nMonth" 6, "2-3\nMonths" 7, "4-6\nMonths" 8, "7-12\nMonths" 9, "1 Year+" 10 ) set title '{/=18 Chart Title}' offset 0, .5 set ylabel '{/=16 Degree of Influence}' offset -1.6, 0 set xlabel '{/=16 Days from Purchase}' offset 0,-1.6 set xtics out nomirror set ytics out nomirror set ytics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8, "9" 9, "10" 10, "" 11) set y2tics("" 0, "1" 1, "2" 2, "3" 3, "4" 4, "5" 5, "6" 6, "7" 7, "8" 8, "9" 9, "10" 10, "" 11) set xrange [0:11] reverse set yrange [0:11] splot [1:] '/Applications/Heatmaps/htdocs/ftp/Heatmaps/dataFileKey_30' matrix replot |
|
From: arnold4life <chr...@ho...> - 2010-11-14 17:16:55
|
The datafile just has two columns, the first has male percentages, the second female percentages. Thomas Sefzick wrote: > > maybe you could post the datafile too > > > arnold4life wrote: >> >> Hi all, >> >> I'm a novice with gnuplot and I'm trying to make a histogram or bar plot >> that looks like the following: >> http://old.nabble.com/file/p30208070/grades.png >> >> but I can't for the life of me get a gnuplot script to do this. I can get >> frequency on the y-axis but I want to get a percentage, and my >> male/female columns overlap with the same color on output: >> http://old.nabble.com/file/p30208070/grades.jpg >> >> The data file I'm using has one column of male percentages and one of >> female percentages. Here's my horrible script: >> >> set term postscript >> set output 'grades.ps' >> >> bin_width = 20.0 >> set style fill solid 1.00 border -10 >> set style data boxes >> #set style boxes cluster gap 1 >> set bmargin 10 >> set ylabel "Percentage of Students" >> set xlabel "Grade Percentage" >> set yrange [0.0:140.0] >> #set xtics ("100%-125%" 100.0:125.0, "75%-99%" 75.0:99.0, "50%-74%" >> 50.0:74.0, "25%-50%" 25.0:50.0, "0%-24%" 0.0:24.0) >> set xtics 20 >> bin_number(x) = floor(x/bin_width) >> rounded(x) = bin_width * ( bin_number(x)) >> UNITY = 1 >> plot 'grades_distribution.data' u (rounded($1)):(UNITY) t 'Male' smooth >> frequency w boxes fs solid 5,\ >> '' u (rounded($2)):(UNITY) t 'Female' smooth frequency w boxes fs >> solid 3 >> >> >> Any help is greatly appreciated, thanks! >> >> > > -- View this message in context: http://old.nabble.com/Histogram-Bar-Plot-Troubles-tp30208070p30213137.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: arnold4life <chr...@ho...> - 2010-11-14 17:16:35
|
Thanks, I've seen those scripts, but I want the x-axis scaled into bins. That way I have one bar for grades that are 70-79%, 80%-89%, etc. Mauricio Galo wrote: > > Arnold et al > > In the link > "http://www.fct.unesp.br/docentes/carto/galo/web/gnuplot/gnu_exemplos5.htm" > you will find some examples of histograns with the respective > gnuplot script. > > M. Galo > >> >> Hi all, >> >> I'm a novice with gnuplot and I'm trying to make a histogram or >> bar plot >> that looks like the following: >> http://old.nabble.com/file/p30208070/grades.png >> >> but I can't for the life of me get a gnuplot script to do this. >> I can get >> frequency on the y-axis but I want to get a percentage, and my >> male/female >> columns overlap with the same color on output: >> http://old.nabble.com/file/p30208070/grades.jpg >> >> The data file I'm using has one column of male percentages and >> one of female >> percentages. Here's my horrible script: >> >> set term postscript >> set output 'grades.ps' >> >> bin_width = 20.0 >> set style fill solid 1.00 border -10 >> set style data boxes >> #set style boxes cluster gap 1 >> set bmargin 10 >> set ylabel "Percentage of Students" >> set xlabel "Grade Percentage" >> set yrange [0.0:140.0] >> #set xtics ("100%-125%" 100.0:125.0, "75%-99%" 75.0:99.0, >> "50%-74%" >> 50.0:74.0, "25%-50%" 25.0:50.0, "0%-24%" 0.0:24.0) >> set xtics 20 >> bin_number(x) = floor(x/bin_width) >> rounded(x) = bin_width * ( bin_number(x)) >> UNITY = 1 >> plot 'grades_distribution.data' u (rounded($1)):(UNITY) t >> 'Male' smooth >> frequency w boxes fs solid 5,\ >> '' u (rounded($2)):(UNITY) t 'Female' smooth frequency >> w boxes fs >> solid 3 >> >> >> Any help is greatly appreciated, thanks! >> >> -- >> View this message in context: >> http://old.nabble.com/Histogram-Bar-Plot-Troubles-tp30208070p30208070.html >> Sent from the Gnuplot - User mailing list archive at >> Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Centralized Desktop Delivery: Dell and VMware Reference >> Architecture >> Simplifying enterprise desktop deployment and management using >> Dell EqualLogic storage and VMware View: A highly scalable, >> end-to-end >> client virtualization framework. Read more! >> http://p.sf.net/sfu/dell-eql-dev2dev >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> > > > > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/Histogram-Bar-Plot-Troubles-tp30208070p30213136.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Mauricio G. <ga...@fc...> - 2010-11-13 19:49:25
|
Arnold et al In the link "http://www.fct.unesp.br/docentes/carto/galo/web/gnuplot/gnu_exemplos5.htm" you will find some examples of histograns with the respective gnuplot script. M. Galo > > Hi all, > > I'm a novice with gnuplot and I'm trying to make a histogram or > bar plot > that looks like the following: > http://old.nabble.com/file/p30208070/grades.png > > but I can't for the life of me get a gnuplot script to do this. > I can get > frequency on the y-axis but I want to get a percentage, and my > male/female > columns overlap with the same color on output: > http://old.nabble.com/file/p30208070/grades.jpg > > The data file I'm using has one column of male percentages and > one of female > percentages. Here's my horrible script: > > set term postscript > set output 'grades.ps' > > bin_width = 20.0 > set style fill solid 1.00 border -10 > set style data boxes > #set style boxes cluster gap 1 > set bmargin 10 > set ylabel "Percentage of Students" > set xlabel "Grade Percentage" > set yrange [0.0:140.0] > #set xtics ("100%-125%" 100.0:125.0, "75%-99%" 75.0:99.0, > "50%-74%" > 50.0:74.0, "25%-50%" 25.0:50.0, "0%-24%" 0.0:24.0) > set xtics 20 > bin_number(x) = floor(x/bin_width) > rounded(x) = bin_width * ( bin_number(x)) > UNITY = 1 > plot 'grades_distribution.data' u (rounded($1)):(UNITY) t > 'Male' smooth > frequency w boxes fs solid 5,\ > '' u (rounded($2)):(UNITY) t 'Female' smooth frequency > w boxes fs > solid 3 > > > Any help is greatly appreciated, thanks! > > -- > View this message in context: > http://old.nabble.com/Histogram-Bar-Plot-Troubles-tp30208070p30208070.html > Sent from the Gnuplot - User mailing list archive at > Nabble.com. > > > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference > Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, > end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Thomas S. <t.s...@fz...> - 2010-11-13 19:21:42
|
maybe you could post the datafile too arnold4life wrote: > > Hi all, > > I'm a novice with gnuplot and I'm trying to make a histogram or bar plot > that looks like the following: > http://old.nabble.com/file/p30208070/grades.png > > but I can't for the life of me get a gnuplot script to do this. I can get > frequency on the y-axis but I want to get a percentage, and my male/female > columns overlap with the same color on output: > http://old.nabble.com/file/p30208070/grades.jpg > > The data file I'm using has one column of male percentages and one of > female percentages. Here's my horrible script: > > set term postscript > set output 'grades.ps' > > bin_width = 20.0 > set style fill solid 1.00 border -10 > set style data boxes > #set style boxes cluster gap 1 > set bmargin 10 > set ylabel "Percentage of Students" > set xlabel "Grade Percentage" > set yrange [0.0:140.0] > #set xtics ("100%-125%" 100.0:125.0, "75%-99%" 75.0:99.0, "50%-74%" > 50.0:74.0, "25%-50%" 25.0:50.0, "0%-24%" 0.0:24.0) > set xtics 20 > bin_number(x) = floor(x/bin_width) > rounded(x) = bin_width * ( bin_number(x)) > UNITY = 1 > plot 'grades_distribution.data' u (rounded($1)):(UNITY) t 'Male' smooth > frequency w boxes fs solid 5,\ > '' u (rounded($2)):(UNITY) t 'Female' smooth frequency w boxes fs > solid 3 > > > Any help is greatly appreciated, thanks! > > -- View this message in context: http://old.nabble.com/Histogram-Bar-Plot-Troubles-tp30208070p30208901.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: arnold4life <chr...@ho...> - 2010-11-13 16:54:25
|
Hi all, I'm a novice with gnuplot and I'm trying to make a histogram or bar plot that looks like the following: http://old.nabble.com/file/p30208070/grades.png but I can't for the life of me get a gnuplot script to do this. I can get frequency on the y-axis but I want to get a percentage, and my male/female columns overlap with the same color on output: http://old.nabble.com/file/p30208070/grades.jpg The data file I'm using has one column of male percentages and one of female percentages. Here's my horrible script: set term postscript set output 'grades.ps' bin_width = 20.0 set style fill solid 1.00 border -10 set style data boxes #set style boxes cluster gap 1 set bmargin 10 set ylabel "Percentage of Students" set xlabel "Grade Percentage" set yrange [0.0:140.0] #set xtics ("100%-125%" 100.0:125.0, "75%-99%" 75.0:99.0, "50%-74%" 50.0:74.0, "25%-50%" 25.0:50.0, "0%-24%" 0.0:24.0) set xtics 20 bin_number(x) = floor(x/bin_width) rounded(x) = bin_width * ( bin_number(x)) UNITY = 1 plot 'grades_distribution.data' u (rounded($1)):(UNITY) t 'Male' smooth frequency w boxes fs solid 5,\ '' u (rounded($2)):(UNITY) t 'Female' smooth frequency w boxes fs solid 3 Any help is greatly appreciated, thanks! -- View this message in context: http://old.nabble.com/Histogram-Bar-Plot-Troubles-tp30208070p30208070.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Julien R. <jr...@ph...> - 2010-11-12 19:35:19
|
On 12/11/2010 2:09 PM, Jon wrote: > convert aaa.eps -resize 640 480 aaa.png > > outside gnuplot, but the plot is smeared out due to magnification. > use an higher density of pixels for rasterizing, and more output pixels: convert -density 1000 -resize 3200x2400 aaa.eps aaa.png but best to leave out the -resize part and just tweak the correct number for -density for the desired output size. Cheers, Julien |