Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3071 > unrolled thread
| Started by | karin.walkerx3@gmail.com |
|---|---|
| First post | 2015-09-07 18:09 -0700 |
| Last post | 2015-09-10 22:47 +0200 |
| Articles | 7 — 4 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Plotting a star surface .DAT file karin.walkerx3@gmail.com - 2015-09-07 18:09 -0700
Re: Plotting a star surface .DAT file Jörg Buchholz <bookwood4new@freenet.de> - 2015-09-08 07:29 +0200
Re: Plotting a star surface .DAT file Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2015-09-09 20:10 +0200
Re: Plotting a star surface .DAT file karin.walkerx3@gmail.com - 2015-09-09 17:36 -0700
Re: Plotting a star surface .DAT file Jörg Buchholz <bookwood4new@freenet.de> - 2015-09-10 07:51 +0200
Re: Plotting a star surface .DAT file Karl-Friedrich Ratzsch <mail.kfr@gmx.net> - 2015-09-10 07:56 +0200
Re: Plotting a star surface .DAT file Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2015-09-10 22:47 +0200
| From | karin.walkerx3@gmail.com |
|---|---|
| Date | 2015-09-07 18:09 -0700 |
| Subject | Plotting a star surface .DAT file |
| Message-ID | <01b651d8-e400-4ec9-b665-1e3feb2ec84a@googlegroups.com> |
So I have this .dat file containing data that is supposed to give me a star surface when plotted. The thing is I cannot get to plot it in any way. I really need help. I have no idea how to plot this in a way I get something that looks like a start surface. My dat file contains 10 columns and what what appears to be endless lines. Can anyone help me please?
[toc] | [next] | [standalone]
| From | Jörg Buchholz <bookwood4new@freenet.de> |
|---|---|
| Date | 2015-09-08 07:29 +0200 |
| Message-ID | <mslro9$cf3$1@newsserver.rrzn.uni-hannover.de> |
| In reply to | #3071 |
On 08.09.2015 03:09, karin.walkerx3@gmail.com wrote: > So I have this .dat file containing data that is supposed to give me a star surface when plotted. The thing is I cannot get to plot it in any way. I really need help. I have no idea how to plot this in a way I get something that looks like a start surface. > My dat file contains 10 columns and what what appears to be endless lines. > > Can anyone help me please? > To create a 3D (surface) you need "splot" (see help splot or have a look to http://gnuplot.sourceforge.net/demo_5.0/surface1.html). You need three columns (x, y, z) for ploting. example: splot 'star.dat' u 1:2:3 w p Jörg
[toc] | [prev] | [next] | [standalone]
| From | Hans-Bernhard Bröker <HBBroeker@t-online.de> |
|---|---|
| Date | 2015-09-09 20:10 +0200 |
| Message-ID | <d5bb14F8mhbU1@mid.dfncis.de> |
| In reply to | #3071 |
Am 08.09.2015 um 03:09 schrieb karin.walkerx3@gmail.com: > So I have this .dat file containing data that is supposed to give me > a star surface when plotted. "Supposed to" according to whom? > The thing is I cannot get to plot it in any way. That I hugely doubt. But let's see: What did you try, and what makes you classify the result at "no plot in any way"? > I really need help. The you need to start by helping people help you. > My dat file contains > 10 columns and what what appears to be endless lines. Aha. And how did you arrive at the belief that this file is supposedly some kind of "star surface" ... and what kind of "star", anyway?
[toc] | [prev] | [next] | [standalone]
| From | karin.walkerx3@gmail.com |
|---|---|
| Date | 2015-09-09 17:36 -0700 |
| Message-ID | <6bf9f963-24a7-4bef-b786-1af1e51cecd6@googlegroups.com> |
| In reply to | #3074 |
Well, I tried using the command splot and I do not get any surface. I know this .dat file is supposed to plot a star surface, because I obtained it with a software that calculates parameters of star's photospheres, which are given by this file. It is part of a research project.
[toc] | [prev] | [next] | [standalone]
| From | Jörg Buchholz <bookwood4new@freenet.de> |
|---|---|
| Date | 2015-09-10 07:51 +0200 |
| Message-ID | <msr5oc$vtt$1@newsserver.rrzn.uni-hannover.de> |
| In reply to | #3075 |
On 10.09.2015 02:36, karin.walkerx3@gmail.com wrote: > Well, I tried using the command splot and I do not get any surface. No errormessage, nothing then? Which terminal do you use. Can you show a few lines from the datafile? What do you exactly means with "I do not get any surface"? Nothing in the outpoutterminal, no points or .....? With these simple data in a datfile called 'star.dat': 1 2 1 1 3 2 1 4 2 1 6 1 2 1 2 2 2 3 2 5 3 2 6 1 3 2 2 3 3 3 3 4 3 3 6 1 4 2 2 4 3 3 4 4 3 4 6 1 and the following commands: set surface splot 'star.dat' u 1:2:3 w lp You got a surface. Is this what you want to have? Jörg
[toc] | [prev] | [next] | [standalone]
| From | Karl-Friedrich Ratzsch <mail.kfr@gmx.net> |
|---|---|
| Date | 2015-09-10 07:56 +0200 |
| Message-ID | <msr639$fvg$1@solani.org> |
| In reply to | #3075 |
Am 10.09.2015 um 02:36 schrieb karin.walkerx3@gmail.com: > Well, I tried using the command splot and I do not get any surface. > > I know this .dat file is supposed to plot a star surface, because I obtained it with a software that calculates parameters of star's photospheres, which are given by this file. It is part of a research project. If you want help, and for free, you have to show that you've put some own thought into the problem. Otherwise it looks to people as if you want to shove off work to them. They don't like that, without pay. ;-) Also, be _specific_ and _precise_. So: What do you get now, with what command exactly? Have you tried plotting something more simple, looked at gnuplot's demo set? How does your data look like? "Ten columns" is not nearly a description. How should we know what output you want/expect? Show a link to a sample picture, if you cannot describe it. K
[toc] | [prev] | [next] | [standalone]
| From | Hans-Bernhard Bröker <HBBroeker@t-online.de> |
|---|---|
| Date | 2015-09-10 22:47 +0200 |
| Message-ID | <d5e8jlFkgiU1@mid.dfncis.de> |
| In reply to | #3075 |
Am 10.09.2015 um 02:36 schrieb karin.walkerx3@gmail.com: > Well, I tried using the command splot and I do not get any surface. So would it have killed you to at least mention what you did get _instead_? > I know this .dat file is supposed to plot a star surface, because I > obtained it with a software that calculates parameters of star's > photospheres, which are given by this file. Aha, so because it's "parameters of a photosphere", it has to be a star's surface, just like that? And the only description of its output given in the documentation of that mysterious program is "a file full of numbers, do with as you like"? Seriously? > It is part of a research project. Oh my...
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web