|
From: o3hq <len...@gm...> - 2010-11-08 16:18:17
|
hello! I tried doing a histogram with gnuplot, following these instructions: http://www.dcs.bbk.ac.uk/~gzoum01/howtos/gnuplot_barcharts.html and all went fine, but the numbers of the x-axis are placed, as you can see http://old.nabble.com/file/p30162131/Figure%2B0.jpg could someone help me? thank you very much. I know it may be vey easy for you, but I'm not very good at gnuplot for the moment... -- View this message in context: http://old.nabble.com/problem-with-a-histogram-%28numbers-placed%29-tp30162131p30162131.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2010-11-09 08:29:48
|
please post the commands (and the data) you used to generate the histogram. o3hq wrote: > > hello! I tried doing a histogram with gnuplot, following these > instructions: > > http://www.dcs.bbk.ac.uk/~gzoum01/howtos/gnuplot_barcharts.html > > and all went fine, but the numbers of the x-axis are placed, as you can > see http://old.nabble.com/file/p30162131/Figure%2B0.jpg > > could someone help me? thank you very much. I know it may be vey easy for > you, but I'm not very good at gnuplot for the moment... > -- View this message in context: http://old.nabble.com/problem-with-a-histogram-%28numbers-placed%29-tp30162131p30168625.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2010-11-09 20:04:43
|
using your data and commands i get the following which looks ok: http://old.nabble.com/file/p30174551/ts.gif which gnuplot version are you using? o3hq wrote: > > Hello, > > the .rtf file, named 'graph', was: > > > "0,2", 2 > "0,25", 2 > "0,3", 2 > "0,35", 1 > "0,4", 1 > "0,45", 0 > "0,5", 1 > "0,55", 2 > "0,6", 3 > "0,65", 6 > "0,7", 6 > "0,75", 8 > "0,8", 3 > "0,85", 5 > "0,9", 9 > "0,95", 4 > "1", 2 > > > > and the commands > $ gnuplot > gnuplot> set boxwidth 1 relative > gnuplot> set style data histograms > gnuplot> set style fill solid 1.0 border -1 > gnuplot> set datafile separator "," > gnuplot> plot 'graph.rtf' using 2:xticlabels(1) notitle > > thank you ver much. > Lena > > > Thomas Sefzick wrote: >> >> please post the commands (and the data) you used to generate the >> histogram. >> >> >> o3hq wrote: >>> >>> hello! I tried doing a histogram with gnuplot, following these >>> instructions: >>> >>> http://www.dcs.bbk.ac.uk/~gzoum01/howtos/gnuplot_barcharts.html >>> >>> and all went fine, but the numbers of the x-axis are placed, as you can >>> see http://old.nabble.com/file/p30162131/Figure%2B0.jpg >>> >>> could someone help me? thank you very much. I know it may be vey easy >>> for you, but I'm not very good at gnuplot for the moment... >>> >> >> > > -- View this message in context: http://old.nabble.com/problem-with-a-histogram-%28numbers-placed%29-tp30162131p30174551.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: o3hq <len...@gm...> - 2010-11-09 20:13:33
|
version 4.2 thank you, Lena Thomas Sefzick wrote: > > using your data and commands i get the following which looks ok: > > http://old.nabble.com/file/p30174551/ts.gif > > which gnuplot version are you using? > > > o3hq wrote: >> >> Hello, >> >> the .rtf file, named 'graph', was: >> >> >> "0,2", 2 >> "0,25", 2 >> "0,3", 2 >> "0,35", 1 >> "0,4", 1 >> "0,45", 0 >> "0,5", 1 >> "0,55", 2 >> "0,6", 3 >> "0,65", 6 >> "0,7", 6 >> "0,75", 8 >> "0,8", 3 >> "0,85", 5 >> "0,9", 9 >> "0,95", 4 >> "1", 2 >> >> >> >> and the commands >> $ gnuplot >> gnuplot> set boxwidth 1 relative >> gnuplot> set style data histograms >> gnuplot> set style fill solid 1.0 border -1 >> gnuplot> set datafile separator "," >> gnuplot> plot 'graph.rtf' using 2:xticlabels(1) notitle >> >> thank you ver much. >> Lena >> >> >> Thomas Sefzick wrote: >>> >>> please post the commands (and the data) you used to generate the >>> histogram. >>> >>> >>> o3hq wrote: >>>> >>>> hello! I tried doing a histogram with gnuplot, following these >>>> instructions: >>>> >>>> http://www.dcs.bbk.ac.uk/~gzoum01/howtos/gnuplot_barcharts.html >>>> >>>> and all went fine, but the numbers of the x-axis are placed, as you can >>>> see http://old.nabble.com/file/p30162131/Figure%2B0.jpg >>>> >>>> could someone help me? thank you very much. I know it may be vey easy >>>> for you, but I'm not very good at gnuplot for the moment... >>>> >>> >>> >> >> > > -- View this message in context: http://old.nabble.com/problem-with-a-histogram-%28numbers-placed%29-tp30162131p30174645.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2010-11-09 20:40:05
|
i tried several versions (4.2.0, 4.2.2, 4.2.3, 4.4, 4.5) and always the plot looked ok. is there any profile which is loaded when you start gnuplot? if you start gnuplot and execute only the commands you have posted, is the plot still faulty? o3hq wrote: > > version 4.2 > > thank you, > Lena > > > Thomas Sefzick wrote: >> >> using your data and commands i get the following which looks ok: >> >> http://old.nabble.com/file/p30174551/ts.gif >> >> which gnuplot version are you using? >> >> >> o3hq wrote: >>> >>> Hello, >>> >>> the .rtf file, named 'graph', was: >>> >>> >>> "0,2", 2 >>> "0,25", 2 >>> "0,3", 2 >>> "0,35", 1 >>> "0,4", 1 >>> "0,45", 0 >>> "0,5", 1 >>> "0,55", 2 >>> "0,6", 3 >>> "0,65", 6 >>> "0,7", 6 >>> "0,75", 8 >>> "0,8", 3 >>> "0,85", 5 >>> "0,9", 9 >>> "0,95", 4 >>> "1", 2 >>> >>> >>> >>> and the commands >>> $ gnuplot >>> gnuplot> set boxwidth 1 relative >>> gnuplot> set style data histograms >>> gnuplot> set style fill solid 1.0 border -1 >>> gnuplot> set datafile separator "," >>> gnuplot> plot 'graph.rtf' using 2:xticlabels(1) notitle >>> >>> thank you ver much. >>> Lena >>> >>> >>> Thomas Sefzick wrote: >>>> >>>> please post the commands (and the data) you used to generate the >>>> histogram. >>>> >>>> >>>> o3hq wrote: >>>>> >>>>> hello! I tried doing a histogram with gnuplot, following these >>>>> instructions: >>>>> >>>>> http://www.dcs.bbk.ac.uk/~gzoum01/howtos/gnuplot_barcharts.html >>>>> >>>>> and all went fine, but the numbers of the x-axis are placed, as you >>>>> can see http://old.nabble.com/file/p30162131/Figure%2B0.jpg >>>>> >>>>> could someone help me? thank you very much. I know it may be vey easy >>>>> for you, but I'm not very good at gnuplot for the moment... >>>>> >>>> >>>> >>> >>> >> >> > > -- View this message in context: http://old.nabble.com/problem-with-a-histogram-%28numbers-placed%29-tp30162131p30174892.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: o3hq <len...@gm...> - 2010-11-10 15:40:11
|
hello, I did the plot again, with the commands I posted, and the numbers are still placed... it's really strange, because if I add, for example, 'smooth unique' at the end of the last command, the numbers look ok! anyway, thank you! I'll continue trying Lena Thomas Sefzick wrote: > > i tried several versions (4.2.0, 4.2.2, 4.2.3, 4.4, 4.5) and always the > plot looked ok. > > is there any profile which is loaded when you start gnuplot? > > if you start gnuplot and execute only the commands you have posted, is the > plot still faulty? > > > o3hq wrote: >> >> version 4.2 >> >> thank you, >> Lena >> >> >> Thomas Sefzick wrote: >>> >>> using your data and commands i get the following which looks ok: >>> >>> http://old.nabble.com/file/p30174551/ts.gif >>> >>> which gnuplot version are you using? >>> >>> >>> o3hq wrote: >>>> >>>> Hello, >>>> >>>> the .rtf file, named 'graph', was: >>>> >>>> >>>> "0,2", 2 >>>> "0,25", 2 >>>> "0,3", 2 >>>> "0,35", 1 >>>> "0,4", 1 >>>> "0,45", 0 >>>> "0,5", 1 >>>> "0,55", 2 >>>> "0,6", 3 >>>> "0,65", 6 >>>> "0,7", 6 >>>> "0,75", 8 >>>> "0,8", 3 >>>> "0,85", 5 >>>> "0,9", 9 >>>> "0,95", 4 >>>> "1", 2 >>>> >>>> >>>> >>>> and the commands >>>> $ gnuplot >>>> gnuplot> set boxwidth 1 relative >>>> gnuplot> set style data histograms >>>> gnuplot> set style fill solid 1.0 border -1 >>>> gnuplot> set datafile separator "," >>>> gnuplot> plot 'graph.rtf' using 2:xticlabels(1) notitle >>>> >>>> thank you ver much. >>>> Lena >>>> >>>> >>>> Thomas Sefzick wrote: >>>>> >>>>> please post the commands (and the data) you used to generate the >>>>> histogram. >>>>> >>>>> >>>>> o3hq wrote: >>>>>> >>>>>> hello! I tried doing a histogram with gnuplot, following these >>>>>> instructions: >>>>>> >>>>>> http://www.dcs.bbk.ac.uk/~gzoum01/howtos/gnuplot_barcharts.html >>>>>> >>>>>> and all went fine, but the numbers of the x-axis are placed, as you >>>>>> can see http://old.nabble.com/file/p30162131/Figure%2B0.jpg >>>>>> >>>>>> could someone help me? thank you very much. I know it may be vey easy >>>>>> for you, but I'm not very good at gnuplot for the moment... >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> > > -- View this message in context: http://old.nabble.com/problem-with-a-histogram-%28numbers-placed%29-tp30162131p30181700.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: o3hq <len...@gm...> - 2010-11-09 17:35:12
|
Hello, the .rtf file, named 'graph', was: "0,2", 2 "0,25", 2 "0,3", 2 "0,35", 1 "0,4", 1 "0,45", 0 "0,5", 1 "0,55", 2 "0,6", 3 "0,65", 6 "0,7", 6 "0,75", 8 "0,8", 3 "0,85", 5 "0,9", 9 "0,95", 4 "1", 2 and the commands $ gnuplot gnuplot> set boxwidth 1 relative gnuplot> set style data histograms gnuplot> set style fill solid 1.0 border -1 gnuplot> set datafile separator "," gnuplot> plot 'graph.rtf' using 2:xticlabels(1) notitle thank you ver much. Lena Thomas Sefzick wrote: > > please post the commands (and the data) you used to generate the > histogram. > > > o3hq wrote: >> >> hello! I tried doing a histogram with gnuplot, following these >> instructions: >> >> http://www.dcs.bbk.ac.uk/~gzoum01/howtos/gnuplot_barcharts.html >> >> and all went fine, but the numbers of the x-axis are placed, as you can >> see http://old.nabble.com/file/p30162131/Figure%2B0.jpg >> >> could someone help me? thank you very much. I know it may be vey easy for >> you, but I'm not very good at gnuplot for the moment... >> > > -- View this message in context: http://old.nabble.com/problem-with-a-histogram-%28numbers-placed%29-tp30162131p30173221.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |