Path: csiph.com!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Karl Ratzsch Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Point size default Date: Tue, 4 Apr 2017 06:02:19 +0200 Organization: solani.org Lines: 27 Message-ID: References: <51e94c93-b07f-421a-aaa7-35378e81e01f@googlegroups.com> <55d7ab13-0a81-481b-9a81-728b7156117d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1491278538 3181 eJwFwYEBwCAIA7CXnNAi5yDY/09YAuPHDifoEPRepWtWu13CdHbG0TQqUZzdXLGzoLxSO38s5BGs (4 Apr 2017 04:02:18 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Tue, 4 Apr 2017 04:02:18 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: <55d7ab13-0a81-481b-9a81-728b7156117d@googlegroups.com> X-User-ID: eJwNyMEBwEAEBMCWcoe1ykHov4RknmOCg3aFQW1tm9uXNRr3ObT8w3PuJgTeRW7QJ0PK35qpDys7Eg8= Cancel-Lock: sha1:KxkEj8FOGbFy8CCkZfFzACBUDhc= X-NNTP-Posting-Host: eJwNx8kBwCAIBMCWxOWyHBeh/xKS+Y3BxSvUzdXGpuOiQqDCHFrnQQnJRuHfksVM3Jx5b5fHByX+EZE= Xref: csiph.com comp.graphics.apps.gnuplot:3612 Am 03.04.2017 um 15:57 schrieb jacques.Lebourlot@obspm.fr: > No! Please check carefully the example given (at the end of my > initial message). > > * This is a 3D plot (splot), not 2D. hence I cannot use objects. > * "6" is not the size, but the "point type" (pt), which is an > empty circle * That circle MUST have exacly a physical size of > "1.0" => i.e. a radius equal to the unit size of the 3 axes. * It > must stay in the plane of the screen when I move the 3D object > with the mouse. > > I know that sizes are terminal dependent. That is the point of > the question... I had to ajust things by trial and errors, by > multiplying an "unknown" initial size to get the desired result. > That size *has* to be defined (or computed) somewhere in the > code, and passed to the graphical engine at some point, but I am > not fluent enough in C to find where from the source code. Ah, sorry. I wasn't aware that both don't work in 3D plots. Well, you could derive it from the source code, but that's also by no means a clean solution, plus sounds tricky. What's wrong with using an empirical value instead? There are two variables GPVAL_VIEW_ROT_(X/Z) that would allow you to always have a plotted circle's normal always point in the viewers direction, but they only update upon "replot", not during mousing.