Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2696 > unrolled thread
| Started by | oscar.rotava@gmail.com |
|---|---|
| First post | 2015-01-11 09:47 -0800 |
| Last post | 2015-01-13 10:04 -0800 |
| Articles | 8 — 3 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Line with hatched style oscar.rotava@gmail.com - 2015-01-11 09:47 -0800
Re: Line with hatched style Karl <mail.kfr@gmx.net> - 2015-01-12 12:44 +0100
Re: Line with hatched style Karl <mail.kfr@gmx.net> - 2015-01-12 17:26 +0100
Re: Line with hatched style oscar.rotava@gmail.com - 2015-01-12 10:14 -0800
Re: Line with hatched style Ethan A Merritt <EAMerritt@gmail.com> - 2015-01-12 16:55 -0800
Re: Line with hatched style Karl <mail.kfr@gmx.net> - 2015-01-13 09:21 +0100
Re: Line with hatched style Karl <mail.kfr@gmx.net> - 2015-01-13 09:01 +0100
Re: Line with hatched style oscar.rotava@gmail.com - 2015-01-13 10:04 -0800
| From | oscar.rotava@gmail.com |
|---|---|
| Date | 2015-01-11 09:47 -0800 |
| Subject | Line with hatched style |
| Message-ID | <537816d9-5018-434a-acea-ed87f04fa997@googlegroups.com> |
Is there any way available in Gnuplot to draw a line but instead of the line style being a solid one I want it to be a "hatched" line like those of the fill styles.
The idea is to show a thick boundary (a large linewidth) which represents a gradual transition instead of a sharp one.
Thanks for any help
[toc] | [next] | [standalone]
| From | Karl <mail.kfr@gmx.net> |
|---|---|
| Date | 2015-01-12 12:44 +0100 |
| Message-ID | <m90c2s$68k$1@news.rz.uni-karlsruhe.de> |
| In reply to | #2696 |
Am 11.01.2015 um 18:47 schrieb oscar.rotava@gmail.com: > Is there any way available in Gnuplot to draw a line but instead of the line style being a solid one I want it to be a "hatched" line like those of the fill styles. > The idea is to show a thick boundary (a large linewidth) which represents a gradual transition instead of a sharp one. > Thanks for any help > Not sure if I understand you demand correctly. "dashed" lines are available, just check gnuplot.pdf or the online help on windows. Otherwise can you post a link to an example? K
[toc] | [prev] | [next] | [standalone]
| From | Karl <mail.kfr@gmx.net> |
|---|---|
| Date | 2015-01-12 17:26 +0100 |
| Message-ID | <m90skd$cms$1@news.rz.uni-karlsruhe.de> |
| In reply to | #2698 |
Am 12.01.2015 um 12:44 schrieb Karl: > Am 11.01.2015 um 18:47 schrieb oscar.rotava@gmail.com: >> Is there any way available in Gnuplot to draw a line but instead of the line style being a solid one I want it to be a "hatched" line like those of the fill styles. >> The idea is to show a thick boundary (a large linewidth) which represents a gradual transition instead of a sharp one. >> Thanks for any help >> > > Not sure if I understand you demand correctly. "dashed" lines are > available, just check gnuplot.pdf or the online help on windows. > > Otherwise can you post a link to an example? Please answer on the newsgroup, not to my private mail address. And i have no idea what that graph you sent me is supposed to tell me. That´s not an example of what you want it to look like, right? What do you mean by "The idea is to show a thick boundary (a large linewidth) which represents a gradual transition instead of a sharp one." ? K
[toc] | [prev] | [next] | [standalone]
| From | oscar.rotava@gmail.com |
|---|---|
| Date | 2015-01-12 10:14 -0800 |
| Message-ID | <8c0c5700-12e3-4ae1-8c75-9b73a206d499@googlegroups.com> |
| In reply to | #2700 |
Em segunda-feira, 12 de janeiro de 2015 14:26:54 UTC-2, Karl escreveu: > Am 12.01.2015 um 12:44 schrieb Karl: > > Am 11.01.2015 um 18:47 schrieb oscar.rotava@gmail.com: > >> Is there any way available in Gnuplot to draw a line but instead of the line style being a solid one I want it to be a "hatched" line like those of the fill styles. > >> The idea is to show a thick boundary (a large linewidth) which represents a gradual transition instead of a sharp one. > >> Thanks for any help > >> > > > > Not sure if I understand you demand correctly. "dashed" lines are > > available, just check gnuplot.pdf or the online help on windows. > > > > Otherwise can you post a link to an example? > > Please answer on the newsgroup, not to my private mail address. > > And i have no idea what that graph you sent me is supposed to tell me. > That´s not an example of what you want it to look like, right? > > What do you mean by "The idea is to show a thick boundary (a large > linewidth) which represents a gradual transition instead of a sharp one." ? > > K Sorry for the mistake. It has been some time I have not used this discussion group and I chose the wrong option. Now it goes and I will try to explain what my idea is. First the link with the example: https://docs.google.com/file/d/0Bz6nA-fKX-5FelM0NXZZd2p5Vmc/edit My question is: is there a way to plot those experimental points, marked by different styles of dots on the file I have given the link, as if it was a "hatched" line? I can substitute those points by lines but those lines I would like to be blurred lines of width 2-3 mm, as if it was an uncertain transition. If such tool is available it would make the task easy and an elegant print. What I am looking for is a way to make a blured line in such a way to substute the experimental points by such line. The option that I first thought about was a forward slach or backslach sequence
[toc] | [prev] | [next] | [standalone]
| From | Ethan A Merritt <EAMerritt@gmail.com> |
|---|---|
| Date | 2015-01-12 16:55 -0800 |
| Message-ID | <m91qdu$aiu$1@dont-email.me> |
| In reply to | #2701 |
oscar.rotava@gmail.com wrote: > Em segunda-feira, 12 de janeiro de 2015 14:26:54 UTC-2, Karl > escreveu: >> Am 12.01.2015 um 12:44 schrieb Karl: >> > Am 11.01.2015 um 18:47 schrieb oscar.rotava@gmail.com: >> >> Is there any way available in Gnuplot to draw a line but >> >> instead of the line style being a solid one I want it to >> >> be a "hatched" line like those of the fill styles. The >> >> idea is to show a thick boundary (a large linewidth) >> >> which represents a gradual transition instead of a sharp >> >> one. Thanks for any help >> >> >> > >> > Not sure if I understand you demand correctly. "dashed" lines are >> > available, just check gnuplot.pdf or the online help on windows. >> > >> > Otherwise can you post a link to an example? >> >> Please answer on the newsgroup, not to my private mail address. >> >> And i have no idea what that graph you sent me is supposed to tell >> me. That´s not an example of what you want it to look like, right? >> >> What do you mean by "The idea is to show a thick boundary (a large >> linewidth) which represents a gradual transition instead of a sharp >> one." ? >> >> K > > Sorry for the mistake. It has been some time I have not used this > discussion group and I chose the wrong option. Now it goes and I will > try to explain what my idea is. First the link with the example: > > https://docs.google.com/file/d/0Bz6nA-fKX-5FelM0NXZZd2p5Vmc/edit That document is access-protected. So we can't see it. > My question is: is there a way to plot those experimental points, > marked by different styles of dots on the file I have given the link, > as if it was a "hatched" line? I can substitute those points by lines > but those lines I would like to be blurred lines of width 2-3 mm, as > if it was an uncertain transition. If such tool is available it would > make the task easy and an elegant print. Not hatched, but you can make the line translucent. http://gnuplot.sourceforge.net/demo_cvs/rgba_lines.html With some work I think you could even make the degree of transparency vary as a function of some parameter associated with each point. Ethan > What I am looking for is a way to make a blured line in such a way to > substute the experimental points by such line. The option that I first > thought about was a forward slach or backslach sequence
[toc] | [prev] | [next] | [standalone]
| From | Karl <mail.kfr@gmx.net> |
|---|---|
| Date | 2015-01-13 09:21 +0100 |
| Message-ID | <m92khk$5ik$1@news.rz.uni-karlsruhe.de> |
| In reply to | #2702 |
Am 13.01.2015 um 01:55 schrieb Ethan A Merritt: > With some work I think you could even make the degree of transparency > vary as a function of some parameter associated with each point. Indeed: max=15 transp(x) = 1. * x / max * 2**32 - 2**24 plot x lw 15, [0:max] "+" us 1:1:(transp($1)) \ with lines lw 5 lc rgb variable My transparency function is somewhat botched. ;-) K
[toc] | [prev] | [next] | [standalone]
| From | Karl <mail.kfr@gmx.net> |
|---|---|
| Date | 2015-01-13 09:01 +0100 |
| Message-ID | <m92jc6$558$1@news.rz.uni-karlsruhe.de> |
| In reply to | #2701 |
Am 12.01.2015 um 19:14 schrieb oscar.rotava@gmail.com: > > My question is: is there a way to plot those experimental points, marked by different styles of dots on the file I have given the link, as if it was a "hatched" line? I can substitute those points by lines but those lines I would like to be blurred lines of width 2-3 mm, as if it was an uncertain transition. If such tool is available it would make the task easy and an elegant print. Please check "hatched" in a dictionary. It does not mean what you seem to think it does, and it´s very confusing. ;-) > What I am looking for is a way to make a blured line in such a way to substute the experimental points by such line. I think that´s two things: Firstly, you want not your datapoints connected by straight lines but a smooth curve? plot "data" smooth cspline # or other, check "help smooth" Secondly, you want a thick line that is dark in the middle but lighter on the borders? You could plot it several times with ever smaller linewidth and darker colour: lmax=15 grey(x,xmax) = int(1.*x/xmax*(2**24-1)) plot for [linw=lmax:1:-1] "data" us 1:2 \ with lines lw linw lc rgb grey(linw,lmax) title "lw:".linw > The option that I first thought about was a forward slach or backslach sequence Slashes and backslashes? Where? K
[toc] | [prev] | [next] | [standalone]
| From | oscar.rotava@gmail.com |
|---|---|
| Date | 2015-01-13 10:04 -0800 |
| Message-ID | <2e84d6ac-abcb-4f85-b6e5-ac0f068c6731@googlegroups.com> |
| In reply to | #2696 |
Em domingo, 11 de janeiro de 2015 15:47:32 UTC-2, oscar....@gmail.com escreveu: > Is there any way available in Gnuplot to draw a line but instead of the line style being a solid one I want it to be a "hatched" line like those of the fill styles. > The idea is to show a thick boundary (a large linewidth) which represents a gradual transition instead of a sharp one. > Thanks for any help I hope now it is not protected. https://drive.google.com/file/d/0Bz6nA-fKX-5FelM0NXZZd2p5Vmc/view?usp=sharing I know how to smooth experimental points. That is not the point. Let's say I have done it already and now I have those experimental points as a function. What I am looking for is a way to plot that function not as a line but has a blurred line of 2-3 mm wide which I imagined could be done by small, side by side backslashes or slaches. So de plot command should be like this plot 'MapaReg3.dat' index 0 using 1:2 smooth unique with lines lt ? lw 3 ? means the code of such kind of special line. I am going to use your sugestion because it is very unlikely that such line type I am thinking about ever existed in Gnuplot.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web