Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3417

Re: Suggestion for generalizing plotting styles

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Suggestion for generalizing plotting styles
Date 2016-10-18 18:52 +0200
Organization solani.org
Message-ID <nu5k12$20t$1@solani.org> (permalink)
References <69acca52-db9a-4206-9559-53a0baa6ab05@googlegroups.com>

Show all headers | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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

csiph-web