tag:blogger.com,1999:blog-4020452510052679998.post5778988857819896758..comments2024-03-25T22:54:48.195-07:00Comments on Gnuplot tricks: Bending the arrows - "delaying" the plotGnuplotterhttp://www.blogger.com/profile/10560778800525149384noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-4020452510052679998.post-24189020414244080792022-12-31T15:30:32.329-08:002022-12-31T15:30:32.329-08:00Harry Lewis Net Worth<a href="https://wecelebrities.com/harry-lewis-net-worth-biography-girlfriend-age-real-name-youtuber/" rel="nofollow">Harry Lewis Net Worth</a>Deepali Singhhttps://www.blogger.com/profile/07058021767474661489noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-91416232150818181632013-10-07T17:25:50.283-07:002013-10-07T17:25:50.283-07:00Hi, I need small help. I have been trying to crea...Hi, I need small help. I have been trying to create the graph from the data which will have growing columns but first two column remain static and rest of the columns can be growing. I am not sure how to create the graph via gnuplot. I would like to have the line graph with legends as "ServerX" for each line. The second should be y-axis. Any help should be appreciated.<br /><br />Server1 35000 105 280 420 <br />Server2 49000 0 <br />Server3 49000 1372 9016 <br />Server4 49000 0 <br />Server5 49000 0 <br />Server6 35000 0 <br />Server7 35000 1120 <br />Server8 35000 0 <br />Server9 35000 10640 11655 3955 7175 7910 7945 <br />Server10 35000 945 <br />Server11 35000 1050 1085 420 455 490 525 560 <br />Server12 35000 21385 <br />Server13 35000 1435 3780 <br />Server14 35000 0 <br />sunshinehttps://www.blogger.com/profile/07862422299723479786noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-35834384392955140612013-05-13T04:42:52.886-07:002013-05-13T04:42:52.886-07:00Hi Ági,
Well, I think, it is a bit hard to tell a...Hi Ági,<br /><br />Well, I think, it is a bit hard to tell anything specific without knowing what the error message is:)<br /><br />Cheers,<br />ZoltánGnuplotterhttps://www.blogger.com/profile/10560778800525149384noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-56885309790974499402013-05-06T17:17:28.234-07:002013-05-06T17:17:28.234-07:00Hi,
It is a really nice and useful code,thanks!
I...Hi,<br /><br />It is a really nice and useful code,thanks!<br />I'd like to ask a question: I want to make a pdf from a code really similar to this. I'm using latex to do so, but it gives an error message. What should I include?<br /><br />Thanks in advance,<br />ÁgiAnonymoushttps://www.blogger.com/profile/08903536174318126714noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-19833598758742079262010-10-22T11:00:47.816-07:002010-10-22T11:00:47.816-07:00For skipping points, you can use the every keyword...For skipping points, you can use the every keyword. So, e.g., <br /><br />plot 'foo' every 2 <br /><br />will select every other point. <br /><br />For linetypes, type <br /><br />test <br /><br />on the command line, and see what happens.<br />Cheers,<br />ZoltánGnuplotterhttps://www.blogger.com/profile/10560778800525149384noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-17898654780249440232010-10-17T20:46:47.001-07:002010-10-17T20:46:47.001-07:00Hi, Friends.
I have two queries-
Please give me ...Hi, Friends.<br /><br />I have two queries-<br /><br />Please give me information related- how to skip odd number of point in gnuplot? And how to increase the space between (say) dashed line in gnuplot? Give the command for these.<br /><br />Thanks.Unknownhttps://www.blogger.com/profile/10563240942440865343noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-34635414438317621542010-05-09T11:21:42.322-07:002010-05-09T11:21:42.322-07:00Greetings Péter,
Thanks for the comments. The fir...Greetings Péter,<br /><br />Thanks for the comments. The first one was interesting, so I have worked it out. As for the second one, I would have to think about it. As far as I understand, what you want to have is a continuous line that follows the field, and then the difficulty is that as we move along the line, we might end up not at the next grid point, (next in the sense that it is neighbouring along grid lines), but somewhere else. This is an exciting problem, and if it is of any consolation, I don't know either where to start:)<br />Cheers,<br />ZoltánGnuplotterhttps://www.blogger.com/profile/10560778800525149384noreply@blogger.comtag:blogger.com,1999:blog-4020452510052679998.post-70789908109384038862010-04-30T04:08:13.265-07:002010-04-30T04:08:13.265-07:00As for suggestions, I actually have two:
First, t...As for suggestions, I actually have two:<br /><br />First, the mosaic plot (also called "Marimekko" plot). <br />Let's suppose that we have our data organized like this:<br /><br />"" France Germany Japan Nauru<br />Defense 9163 4857 2648 9437<br />Agriculture 3547 5378 1831 1948<br />Education 7722 7445 731 9822<br />Industry 4837 147 3449 6111<br />"Silly walks" 3441 7297 308 7386<br /><br />and we want to make a plot like this:<br />http://j.imagehost.org/0655/spending.png<br /><br />This form of plotting can be thought as a stacked histogram taken one step further; we might even think of it as a histogram stacked in both dimensions.<br /><br />One can read from the charts how much do each major category (country in the example) contribute to the total, as well as how much the secondary categories (ministries here) contribute to the sub-totals. It also has the nice property that the area of every rectangle is proportional to the plotted value.<br /><br />The problem with this kind of plot is that one can't use gnuplot's otherwise excellent stacked histogram mechanism to generate it, because the column widths themselves bear information here, and they have to be calculated from sums of datafile columns.<br /><br />I'm sure that there is a way to do it in pure gnuplot, given the recent additions to its facilities, but so far I couldn't figure it out. The linked image was done by way of a perl script that took the data file in the matrix form above and calculated from it the coordinates of the individual rectangles.<br /><br />You could look into it if you find this problem interesting.<br /><br />The other suggestion, or more like question is a little more involved and a little more physics-specific.<br />Given a data file containing magnetic field measurements (data in six columns: x, y, z, B_x, B_y, B_z; the points can be presumed to form a regularly spaced 3D grid, or 2D grids in one or more planes), how can we generate a plot that shows the field lines? Creating a plot that shows a vector corresponding to the measured B field in every x,y,z point is easy. But such a plot is quite unusable in practice. Plotting unit vectors to show the direction of the field only, and using a color palette to show field strength is slightly better, but it's still not as intuitive as one would hope.<br />The best would be a plot that shows the field lines as they twist, curl and connect to the magnetic poles, but I don't even know where to begin with that.Unknownhttps://www.blogger.com/profile/11172776607684714645noreply@blogger.com