|
From: Mahmood N. <nt_...@ya...> - 2013-10-21 13:52:33
|
Hi I have been confused by setting a custom tic in a logscale mode. On x-axis I have 1, 10, 100, 1000, 1E+4, 1E+5 Problem is that in small figures, the 'E' tics overlap each other (because they are long) and the figure gets messy. So I wrote set logscale x set xtics 1,10 set xtics add (10000) So I expect not to see 100, 1000 and 1E+5. But the output is not I want. What is wrong then? Regards, Mahmood |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2013-10-21 14:09:41
|
On 21.10.2013 15:52, Mahmood Naderan wrote: > I have been confused by setting a custom tic in a logscale mode. On x-axis I have > > 1, 10, 100, 1000, 1E+4, 1E+5 > > Problem is that in small figures, the 'E' tics overlap each other (because they are long) Hmm. But they're actually _shorter_ than your alternative, so how do you expect that to be any better? > and the figure gets messy. So I wrote > > set logscale x > set xtics 1,10 > set xtics add (10000) > > So I expect not to see 100, 1000 and 1E+5. How did you figure the above would remove the tics at 100, 1000 and 1e5? > But the output is not I want. And what _is_ the output? > What is wrong then? For now: your expectation. |
|
From: Theo <th...@gm...> - 2013-10-21 14:14:59
|
I am not sure whether I unterstand you correctly.
You may want to try
set format x "10^{%T}"
It will display the tic labels as 10^4, 10^5 etc. which saves space.
Assuming you are using wxt terminal you can have a nicer look if you type:
set term wxt enhanced
Am 21.10.2013 15:52, schrieb Mahmood Naderan:
> Hi
> I have been confused by setting a custom tic in a logscale mode. On x-axis I have
>
> 1, 10, 100, 1000, 1E+4, 1E+5
>
> Problem is that in small figures, the 'E' tics overlap each other (because they are long) and the figure gets messy. So I wrote
>
> set logscale x
> set xtics 1,10
> set xtics add (10000)
>
> So I expect not to see 100, 1000 and 1E+5. But the output is not I want. What is wrong then?
>
>
> Regards,
> Mahmood
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: Mahmood N. <nt_...@ya...> - 2013-10-21 14:44:18
|
>And what _is_ the output?
The output contains all tics 1,10,100,1000,1E+4,1E+5
I found that this command
set xtics (1,10,10000)
works and is better than
set xtics 1,10
set xtics add (10000) Regards,
I don't know why but that works.
>set format x "10^{%T}"
Yes that is also works.
Thanks
--------------------------------------------
On Mon, 10/21/13, Theo <th...@gm...> wrote:
Subject: Re: [Gnuplot-info] xtics in logscale
To: gnu...@li...
Date: Monday, October 21, 2013, 5:44 PM
I am not sure whether I unterstand
you correctly.
You may want to try
set format x "10^{%T}"
It will display the tic labels as 10^4, 10^5 etc. which
saves space.
Assuming you are using wxt terminal you can have a nicer
look if you type:
set term wxt enhanced
Am 21.10.2013 15:52, schrieb Mahmood Naderan:
> Hi
> I have been confused by setting a custom tic in a
logscale mode. On x-axis I have
>
> 1, 10, 100, 1000, 1E+4, 1E+5
>
> Problem is that in small figures, the 'E' tics overlap
each other (because they are long) and the figure gets
messy. So I wrote
>
> set logscale x
> set xtics 1,10
> set xtics add (10000)
>
> So I expect not to see 100, 1000 and 1E+5. But the
output is not I want. What is wrong then?
>
>
> Regards,
> Mahmood
>
------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application
performance.
> Explore tips for MPI, OpenMP, advanced profiling, and
more. Get the most from
> the latest Intel processors and coprocessors. See
abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application
performance.
Explore tips for MPI, OpenMP, advanced profiling, and more.
Get the most from
the latest Intel processors and coprocessors. See abstracts
and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
gnuplot-info mailing list
gnu...@li...
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2013-10-21 15:46:36
|
On 21.10.2013 16:41, Mahmood Naderan wrote: > I found that this command > > set xtics (1,10,10000) > > works and is better than > set xtics 1,10 > set xtics add (10000) Regards, > I don't know why but that works. Then you must re-read "help set xtics" until you do. For starters let me just point out the obvious: set xtics 1,10 is not the same as set xtics (1, 10) |