Forum Replies Created by pimohdaimaoh

Viewing 7 posts - 1 through 7 (of 7 total)
  • in reply to: TWO graph in one page #43195

    (Sorry I cant post the part script because I get blocked if I post the script to show you.

    but I try to do Jquery and Sget function and both seems doesnt read the txt file. I cant post some message here regarding the script I did because I get blocked here in JS but to get you the info that I did some which uses ajax or get function, but it doesnt work Sir :(

    in reply to: TWO graph in one page #43138

    Now last Question Sir, how to read the txt file if my text file is on my server instead of using file imput, it should auto reads the txt file automatically without needing of uploading the Temperature.txt manually?

    in reply to: TWO graph in one page #43137

    Nice Sir it worked, So I should take note when skipping text and alos to read the parsed value it should expressed to .split(/\s+/) instead. Thank You Sir for the help.

    in reply to: TWO graph in one page #43105

    Ah I see now the problem Sir. If the tst format is this:

    Mean Surface Air Temperature over Ocean or Land Areas (C)
    Annual Mean Anomalies with respect to 1951-1980

    Year Land_Annual Lowess(5) | Ocean_Annual Lowess(5)
    —————————————————–
    1880 -0.64 -0.53 | -0.05 0.01
    1881 -0.44 -0.56 | 0.01 -0.02
    1882 -0.53 -0.60 | 0.00 -0.06
    1883 -0.61 -0.62 | -0.06 -0.09
    1884 -0.79 -0.65 | -0.15 -0.12
    1885 -0.79 -0.67 | -0.21 -0.15
    1886 -0.63 -0.66 | -0.21 -0.16
    1887 -0.72 -0.63 | -0.24 -0.16
    1888 -0.57 -0.58 | -0.05 -0.16
    1889 -0.29 -0.55 | -0.04 -0.16
    1890 -0.55 -0.53 | -0.29 -0.16
    1891 -0.47 -0.51 | -0.13 -0.17
    1892 -0.55 -0.51 | -0.18 -0.18
    1893 -0.57 -0.50 | -0.23 -0.18
    1894 -0.51 -0.48 | -0.26 -0.16
    1895 -0.50 -0.43 | -0.14 -0.15
    1896 -0.39 -0.38 | 0.00 -0.14
    1897 -0.20 -0.31 | -0.05 -0.13
    1898 -0.34 -0.24 | -0.23 -0.13
    1899 -0.15 -0.20 | -0.16 -0.15
    1900 -0.02 -0.18 | -0.07 -0.19
    1901 -0.06 -0.18 | -0.18 -0.23
    1902 -0.24 -0.19 | -0.26 -0.26
    1903 -0.24 -0.21 | -0.41 -0.28
    1904 -0.39 -0.25 | -0.51 -0.31
    1905 -0.20 -0.28 | -0.28 -0.34
    1906 -0.11 -0.31 | -0.26 -0.36
    1907 -0.54 -0.32 | -0.32 -0.38
    1908 -0.35 -0.34 | -0.47 -0.40
    1909 -0.39 -0.36 | -0.52 -0.42
    1910 -0.32 -0.37 | -0.49 -0.43
    1911 -0.39 -0.34 | -0.47 -0.41
    1912 -0.44 -0.30 | -0.31 -0.37
    1913 -0.26 -0.29 | -0.37 -0.33
    1914 0.00 -0.30 | -0.21 -0.30
    1915 -0.06 -0.32 | -0.14 -0.29
    1916 -0.43 -0.32 | -0.33 -0.27
    1917 -0.63 -0.33 | -0.38 -0.27
    1918 -0.45 -0.34 | -0.22 -0.27
    1919 -0.28 -0.32 | -0.27 -0.28
    1920 -0.29 -0.28 | -0.26 -0.27
    1921 -0.03 -0.23 | -0.24 -0.27
    1922 -0.23 -0.19 | -0.30 -0.27
    1923 -0.20 -0.16 | -0.30 -0.27
    1924 -0.19 -0.13 | -0.30 -0.26
    1925 -0.08 -0.11 | -0.26 -0.26
    1926 0.06 -0.09 | -0.17 -0.26
    1927 -0.15 -0.07 | -0.23 -0.25
    1928 -0.01 -0.04 | -0.28 -0.24
    1929 -0.42 -0.03 | -0.33 -0.24
    1930 -0.02 -0.03 | -0.19 -0.24
    1931 0.10 -0.02 | -0.16 -0.24
    1932 0.07 -0.02 | -0.24 -0.23
    1933 -0.26 -0.02 | -0.29 -0.22
    1934 0.05 -0.02 | -0.22 -0.22
    1935 -0.10 -0.01 | -0.23 -0.20
    1936 -0.04 0.02 | -0.19 -0.18
    1937 0.04 0.06 | -0.09 -0.14

    Will do work fine BUT if using the ACTUAL format text like this in link
    https://www.pimohweather.com/data/temperature.txt
    it turns it will not shown the graph. Theres something wrong when the column spaces differ, can you try using the actual txt format like on the link? TY

    in reply to: TWO graph in one page #42959

    Nice Sir Thank you, but when I applied to read the temperature.txt it doesn’t read the file, so whats wrong on it? Im just using your sample snippet above but it didnt show the graph?

    in reply to: PLOT Graph using txt #42936

    OR if the tx data is this?

    Seasonal cycle from MERRA2 using base period 1980-2015
    Year Anomaly
    1880.04 -2.6
    1880.13 -2.4
    1880.21 -1.57
    1880.29 -0.64
    1880.38 0.37
    1880.46 0.94
    1880.54 1.24
    1880.63 1.19
    1880.71 0.51
    1880.79 -0.59
    1880.88 -1.68
    1880.96 -2.32
    1881.04 -2.62
    1881.13 -2.3
    1881.21 -1.45
    1881.29 -0.43
    1881.38 0.53
    1881.46 0.96
    1881.54 1.42
    1881.63 1.25
    1881.71 0.51
    1881.79 -0.58
    1881.88 -1.65
    1881.96 -2.22
    1882.04 -2.26
    1882.13 -2.02
    1882.21 -1.44
    1882.29 -0.64
    1882.38 0.33
    1882.46 0.93
    1882.54 1.25
    1882.63 1.21
    1882.71 0.51
    1882.79 -0.6
    1882.88 -1.63
    1882.96 -2.51
    1883.04 -2.71
    1883.13 -2.53
    1883.21 -1.6
    1883.29 -0.66
    1883.38 0.29
    1883.46 1.08
    1883.54 1.35
    1883.63 1.15
    1883.71 0.44
    1883.79 -0.47
    1883.88 -1.7
    1883.96 -2.26
    1884.04 -2.55
    1884.13 -2.25
    1884.21 -1.85
    1884.29 -0.88

    Mostly NEGATIVE value gives confusion to the script?

    in reply to: PLOT Graph using txt #42935

    Oh thank You for this but I have another question, how about if theres TWO different data in one text and I want to create a separate graph output in one page?
    Example:

    Mean Surface Air Temperature over Ocean or Land Areas (C)
    Annual Mean Anomalies with respect to 1951-1980

    Year Land_Annual Lowess(5) | Ocean_Annual Lowess(5)
    —————————————————–
    1880 -0.64 -0.53 | -0.05 0.01
    1881 -0.44 -0.56 | 0.01 -0.02
    1882 -0.53 -0.60 | 0.00 -0.06
    1883 -0.61 -0.62 | -0.06 -0.09
    1884 -0.79 -0.65 | -0.15 -0.12
    1885 -0.79 -0.67 | -0.21 -0.15
    1886 -0.63 -0.66 | -0.21 -0.16
    1887 -0.72 -0.63 | -0.24 -0.16
    1888 -0.57 -0.58 | -0.05 -0.16
    1889 -0.29 -0.55 | -0.04 -0.16
    1890 -0.55 -0.53 | -0.29 -0.16
    1891 -0.47 -0.51 | -0.13 -0.17
    1892 -0.55 -0.51 | -0.18 -0.18
    1893 -0.57 -0.50 | -0.23 -0.18
    1894 -0.51 -0.48 | -0.26 -0.16
    1895 -0.50 -0.43 | -0.14 -0.15
    1896 -0.39 -0.38 | 0.00 -0.14
    1897 -0.20 -0.31 | -0.05 -0.13
    1898 -0.34 -0.24 | -0.23 -0.13
    1899 -0.15 -0.20 | -0.16 -0.15
    1900 -0.02 -0.18 | -0.07 -0.19
    1901 -0.06 -0.18 | -0.18 -0.23
    1902 -0.24 -0.19 | -0.26 -0.26
    1903 -0.24 -0.21 | -0.41 -0.28
    1904 -0.39 -0.25 | -0.51 -0.31
    1905 -0.20 -0.28 | -0.28 -0.34
    1906 -0.11 -0.31 | -0.26 -0.36
    1907 -0.54 -0.32 | -0.32 -0.38
    1908 -0.35 -0.34 | -0.47 -0.40
    1909 -0.39 -0.36 | -0.52 -0.42
    1910 -0.32 -0.37 | -0.49 -0.43
    1911 -0.39 -0.34 | -0.47 -0.41
    1912 -0.44 -0.30 | -0.31 -0.37
    1913 -0.26 -0.29 | -0.37 -0.33
    1914 0.00 -0.30 | -0.21 -0.30
    1915 -0.06 -0.32 | -0.14 -0.29
    1916 -0.43 -0.32 | -0.33 -0.27
    1917 -0.63 -0.33 | -0.38 -0.27
    1918 -0.45 -0.34 | -0.22 -0.27
    1919 -0.28 -0.32 | -0.27 -0.28
    1920 -0.29 -0.28 | -0.26 -0.27
    1921 -0.03 -0.23 | -0.24 -0.27
    1922 -0.23 -0.19 | -0.30 -0.27
    1923 -0.20 -0.16 | -0.30 -0.27
    1924 -0.19 -0.13 | -0.30 -0.26
    1925 -0.08 -0.11 | -0.26 -0.26
    1926 0.06 -0.09 | -0.17 -0.26
    1927 -0.15 -0.07 | -0.23 -0.25
    1928 -0.01 -0.04 | -0.28 -0.24
    1929 -0.42 -0.03 | -0.33 -0.24
    1930 -0.02 -0.03 | -0.19 -0.24
    1931 0.10 -0.02 | -0.16 -0.24
    1932 0.07 -0.02 | -0.24 -0.23
    1933 -0.26 -0.02 | -0.29 -0.22
    1934 0.05 -0.02 | -0.22 -0.22
    1935 -0.10 -0.01 | -0.23 -0.20
    1936 -0.04 0.02 | -0.19 -0.18
    1937 0.04 0.06 | -0.09 -0.14

    Then I want to create a separate graph for “Land_Annual Lowess(5)” and “Ocean_Annual Lowess(5)
    ” to give two comparisons of each graph. WHEN it show on graph there will be two graph output. Thank You foor the assitance

Viewing 7 posts - 1 through 7 (of 7 total)