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


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

Problems with ellipse object

X-Received by 10.176.78.43 with SMTP id g43mr10752210uah.3.1492509205750; Tue, 18 Apr 2017 02:53:25 -0700 (PDT)
X-Received by 10.157.21.114 with SMTP id z47mr312328otz.5.1492509205713; Tue, 18 Apr 2017 02:53:25 -0700 (PDT)
Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!c45no3386404qtb.1!news-out.google.com!y33ni3509qty.1!nntp.google.com!c45no3386400qtb.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Tue, 18 Apr 2017 02:53:25 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=87.221.166.137; posting-account=cFP8-AoAAABbABu06CxOXfTUvrA2esMp
NNTP-Posting-Host 87.221.166.137
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <f5c070e8-ad29-4812-9e84-91e3889ca4a0@googlegroups.com> (permalink)
Subject Problems with ellipse object
From Francisco Pontiga <pontiga@us.es>
Injection-Date Tue, 18 Apr 2017 09:53:25 +0000
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Lines 46
Xref csiph.com comp.graphics.apps.gnuplot:3623

Show key headers only | View raw


Hello,

I would appreciate any help with these two problems. I am trying to draw an ellipse inside a splot at a convenient place, but I found the following problems (or bugs?)

Here is a short sample of a test file:

reset
set terminal windows color enhanced 
set pm3d
set view map
set palette color
unset surface
set object 1 ellipse at 0.0,0.0 size 0.5,0.5 angle 0 front fillcolor rgbcolor "white"
splot [-2:2][-2:2] x**2+y**2 notitle with lines

I would expect the ellipse to be drawn with its center at the origin (coordinates (0.0,0.0)) but instead, it is drawn with its center at (0.0,2.0). Why? I have tried writing explicitly "at first 0.0,first 0.0" , but the result is identical. Indeed, I must write " at 0.0,-2.0" in order to have the ellipse drawn with its center at the origin.

Things become worse when I try to use a log scale for the z-axis. If I write

reset
set terminal windows color enhanced 
set pm3d
set view map
set palette color
unset surface
set log z
set object 1 ellipse at 0.0,0.0 size 0.5,0.5 angle 0 front fillcolor rgbcolor "white"
splot [-2:2][-2:2] x**2+y**2 notitle with lines

I got the following error: "ellipse has z coord of 0; must be above 0 for log scale! "

How can I modify the z coordinate of the ellipse?

Thank you in advance for any help.

Francisco

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


Thread

Problems with ellipse object Francisco Pontiga <pontiga@us.es> - 2017-04-18 02:53 -0700
  Re: Problems with ellipse object Karl Ratzsch <mail.kfr@gmx.net> - 2017-04-18 12:41 +0200
  Re: Problems with ellipse object Karl Ratzsch <mail.kfr@gmx.net> - 2017-04-18 13:12 +0200
    Re: Problems with ellipse object Karl Ratzsch <mail.kfr@gmx.net> - 2017-04-18 21:02 +0200
      Re: Problems with ellipse object Karl Ratzsch <mail.kfr@gmx.net> - 2017-04-21 09:57 +0200
  Re: Problems with ellipse object Francisco Pontiga <pontiga@us.es> - 2017-04-18 04:59 -0700

csiph-web