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


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

Re: Circle in multiplot not shown

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Ethan A Merritt <EAMerritt@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Circle in multiplot not shown
Date Sun, 31 Jan 2016 09:32:37 -0800
Organization A noiseless patient Spider
Lines 49
Message-ID <n8lgab$nas$1@dont-email.me> (permalink)
References <a1944a42-c85f-4922-9b6f-e4f93f843a20@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
Injection-Date Sun, 31 Jan 2016 17:29:48 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="7bbfccb08e3cb0f92ebf95516f5f5a81"; logging-data="23900"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Zu4ON9r/mtwEie+nCkmIA"
User-Agent KNode/4.14.5
Cancel-Lock sha1:djo+ZJ2TivNm1lj76HS3lO3S2uI=
Xref csiph.com comp.graphics.apps.gnuplot:3193

Show key headers only | View raw


MortenMacFly wrote:

> Dear all,
> 
> I am using multiplot to plot 2 graphs under each other in a 0.6:0.4
> ratio. Now I would like to highlight a certain part of the upper plot.
> I thought I would simply draw a circle on top which I explain in the
> corresponding text.
> 
> However, the circle is not shown and I am a bit lost. Is circle not
> valid in the multiplot environment?

The only commands that actually draw to the screen are "plot" and
"splot".  All other commands, including "set", affect what will 
happen at the time of the next plot.  So you need to move your
"set object" command _before_ the last plot command.

	Ethan


> 
> Here is a sample gnuplot script with the circle is not shown:
> 
> reset
> 
> set terminal windows
> 
> set multiplot
> set size   1.0,0.6
> set origin 0.0,0.4
> unset xlabel
> set ylabel "YLabel1"
> set format x ""
> 
> plot sin(x) t "1" w l lt -1 lw 2
> 
> set size   1.0,0.4
> set origin 0.0,0.0
> set xlabel "Index"
> set ylabel "YLabel2"
> set format x
> 
> plot 0.5*cos(x) t "2" w l lt 2 lw 2
> 
> set object 1 circle at 0,0 size 0.5
> 
> unset multiplot
> 
> pause -1

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


Thread

Circle in multiplot not shown MortenMacFly <mortenmacfly@gmail.com> - 2016-01-31 04:27 -0800
  Re: Circle in multiplot not shown Ethan A Merritt <EAMerritt@gmail.com> - 2016-01-31 09:32 -0800

csiph-web