Talk About Network

Google





Graphics > Gnuplot interactive function plotter > Re: smooth opti...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 7 Topic 3412 of 3655
Post > Topic >>

Re: smooth option with log log plot with update information

by Shailendra <shailendra.vikas@[EMAIL PROTECTED] > Aug 7, 2008 at 03:48 PM

Hi All,
I will try to explain the problem once again. I wish i could attach
the graphs to make my point clear.
I am going to mention 2 way of plotting the same information, and i
expect same plot for both case.
Mehtod 1:
--------------
I take the data mention in my previous email.
set log xy
plot <file_name> using 2:1 smooth cspline

Method 2:
-------------
I take the data mentioned in my previous email and take LOG10(Y-axis-
data) and create new file with log10(y) as y-axis
set log x    note: no y here
plot <file_name> using 2:1 smooth cspline

I do not get the same plot. Am i wrong in expecting the both method to
give the same plot?

Thanks,
Shailendra

Shailendra wrote:
> Hi All,
> I face a problem when i use "smooth cspline" option with "set log xy
> ". I get some strange wiggle in the curve even if u just by seeing the
> data plot you can see it is quite smoothly varying. I am posting the
> data below.
>          Y                 X
> 26001.010748	0.010000
> 4281.268838	0.020000
> 1403.321122	0.030000
> 623.920780	0.040000
> 329.886993	0.050000
> 195.100466	0.060000
> 124.802095	0.070000
> 84.602694	0.080000
> 59.971387	0.090000
> 44.045245	0.100000
> 5.694855	0.200000
> 1.706694	0.300000
> 0.724142	0.400000
> 0.372038	0.500000
> 0.215795	0.600000
> 0.136117	0.700000
> 0.091300	0.800000
> 0.064185	0.900000
> 0.046827	1.000000
> 0.005874	2.000000
> 0.001742	3.000000
> 0.000735	4.000000
> 0.000377	5.000000
> 0.000218	6.000000
> 0.000137	7.000000
> 0.000092	8.000000
> 0.000065	9.000000
> 0.000047	10.000000
>
> If you just plot the data in log-log scale it looks nice but if i use
> smooth cspline it looks ugly. you get wiggle at the point when the
> scale jump. Please let me know if there is work around or solution to
> it. I guess if i take log of data and than smooth it than i should get
> a smooth curve but i want that to be last option.
>
> Thanks,
> Shailendra
 




 7 Posts in Topic:
smooth option with log log plot
Shailendra <shailendra  2008-07-18 21:00:57 
Re: smooth option with log log plot
googoff@[EMAIL PROTECTED]  2008-07-20 04:40:58 
Re: smooth option with log log plot
googoff@[EMAIL PROTECTED]  2008-07-24 10:35:48 
Re: smooth option with log log plot
merritt@[EMAIL PROTECTED]  2008-07-24 11:36:17 
Re: smooth option with log log plot
googoff@[EMAIL PROTECTED]  2008-07-25 11:29:27 
Re: smooth option with log log plot
Theo Hopman <thopman.g  2008-07-26 12:46:48 
Re: smooth option with log log plot with update information
Shailendra <shailendra  2008-08-07 15:48:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 1:52:47 PST 2009.