Path: csiph.com!news.mixmin.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: Can I display tics to show the value of my paramter. Date: Thu, 24 Nov 2016 10:00:40 +0100 Organization: solani.org Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1479978037 26902 eJwNxEkBwDAIBEBLEGAb5HD6l5DOY0zAqE9hUFvbk1lXyZvdJm7JNPdmLJFXzB+d0mE9AijkATCmEVA= (24 Nov 2016 09:00:37 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Thu, 24 Nov 2016 09:00:37 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 In-Reply-To: Cancel-Lock: sha1:RRxLt+w3QTQTG+bfc8GH0Sh3a78= X-NNTP-Posting-Host: eJwFwYEBwCAIA7CXgEKZ5+gq/59gUqDz72Qxa2p4sk+Upfan3Y5kEGt8ufwKcjWguEAarB8MMxAx X-User-ID: eJwFwQkBwDAIA0BLUJ4yORAa/xJ2F5aauJ6RHgzq9lnY0BGyp272tBVcXQJ4n5GvMZQpf10/M1gSQA== Xref: csiph.com comp.graphics.apps.gnuplot:3484 Am 24.11.2016 um 09:16 schrieb Jean-Pierre Coulon: > Thanks, this works but I want a logarithmic set of labels. I am > happy like this: > > set sample 30 > set trange [1:30] > x(f) = f/10 * sin(f/5) > y(f) = f/10 * cos(f/5) > set param > set dummy f > set label "10" at x(10), y(10) > set label "20" at x(20), y(20) > # etc. > plot x(f), y(f) set table $samp1 set samp 11 set xr [0:10] plot "+" us (2**$1) with table notitle unset table plot $samp1 using (x($1)):(y($1)):(sprintf("%.f",$1)) \ with labels point pt 1 set samp 100 rep "+" using (x($1)):(y($1)) That way you don't use that crummy parametric mode, and don't have to retype all your labels for every new plot.