Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3416 > unrolled thread
| Started by | layzarc@aol.com |
|---|---|
| First post | 2016-10-18 08:30 -0700 |
| Last post | 2016-10-18 15:43 -0700 |
| Articles | 5 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Suggestion for generalizing plotting styles layzarc@aol.com - 2016-10-18 08:30 -0700
Re: Suggestion for generalizing plotting styles Karl Ratzsch <mail.kfr@gmx.net> - 2016-10-18 18:52 +0200
Re: Suggestion for generalizing plotting styles layzarc@aol.com - 2016-10-18 10:16 -0700
Re: Suggestion for generalizing plotting styles Karl Ratzsch <mail.kfr@gmx.net> - 2016-10-18 22:04 +0200
Re: Suggestion for generalizing plotting styles layzarc@aol.com - 2016-10-18 15:43 -0700
| From | layzarc@aol.com |
|---|---|
| Date | 2016-10-18 08:30 -0700 |
| Subject | Suggestion for generalizing plotting styles |
| Message-ID | <69acca52-db9a-4206-9559-53a0baa6ab05@googlegroups.com> |
I have a program that is generating data on the fly and I would like to 2d plot it as lines but with 2-character labels at each point. This would be a lot easier if there was a plotting style lineslabels. Instead maybe plotting styles should be generalized such as: linespoints -> lines,points (or with some delimiter other than a comma) so that lines,labels would be possible and many other combinations. Al
[toc] | [next] | [standalone]
| From | Karl Ratzsch <mail.kfr@gmx.net> |
|---|---|
| Date | 2016-10-18 18:52 +0200 |
| Message-ID | <nu5k12$20t$1@solani.org> |
| In reply to | #3416 |
Am 18.10.2016 um 17:30 schrieb layzarc@aol.com: > I have a program that is generating data on the fly and I would like to 2d plot it as lines but with 2-character labels at each point. This would be a lot easier > if there was a plotting style lineslabels. Instead maybe plotting styles should be generalized such as: > linespoints -> lines,points (or with some delimiter other than a comma) > so that lines,labels would be possible and many other combinations. > You mean you want to combine plotting styles to be used for the same dataset, so you don't have to send the same data twice? I guess it could be possible, but one would have to come up with some unambigous, backwards-compatible syntax for it. Sounds tricky, and certainly not easy to implement. You know you can write the data into an temporary named datablock (check "help inline data", since gp5.0) and use that to plot it as often as you like? ==== $data << EOD 1 2 label 3 4 labl 5 6 lbl EOD plot $data w lp, plot $data w labels ==== What you propose would internally be the same thing, only hidden behind an additional abstraction layer, and much less flexible. Karl
[toc] | [prev] | [next] | [standalone]
| From | layzarc@aol.com |
|---|---|
| Date | 2016-10-18 10:16 -0700 |
| Message-ID | <d35bafc4-721f-4c48-a3e4-30daf851b6cb@googlegroups.com> |
| In reply to | #3417 |
I tried that but how to I prevent doubling up of key entries?
[toc] | [prev] | [next] | [standalone]
| From | Karl Ratzsch <mail.kfr@gmx.net> |
|---|---|
| Date | 2016-10-18 22:04 +0200 |
| Message-ID | <nu5v8l$alp$1@solani.org> |
| In reply to | #3418 |
Am 18.10.2016 um 19:16 schrieb layzarc@aol.com: > I tried that but how to I prevent doubling up of key entries? plot $data , $data notitle
[toc] | [prev] | [next] | [standalone]
| From | layzarc@aol.com |
|---|---|
| Date | 2016-10-18 15:43 -0700 |
| Message-ID | <995049af-6b30-41d6-84aa-6347810174b0@googlegroups.com> |
| In reply to | #3419 |
> plot $data , $data notitle Thnaks. Should have known that.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web