Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Is it possible to upload a plot of a function?

  1. Jun 5, 2007 #1

    Chris Hillman

    User Avatar
    Science Advisor

    Forgive me--- I think I have asked this before, and received an answer, but if so I seem to have mislaid it--- but despite a quick search, I can find no evidence that PF admits any practical possibility of uploading a plot of a function to illustrate a post. This would be an unfortunate limitation indeed, but I wouldn't be surprised some clever individual has found a practical solution. Can anyone enlighten me?

    (Anything requiring me to sign at for other websites probably won't work for me, since I no joiner am.)
     
  2. jcsd
  3. Jun 5, 2007 #2

    Moonbear

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    You can upload small attachments in various formats:
    To do that, click the "go advanced" button instead of replying using the quick reply box, and scroll down below the reply box itself. You'll see under "Additional Options" a button labeled "manage attachments." Click that and you can upload your file from there (a table in that window will tell you the file size limits, mostly around 100 kb). Attachments need to be approved by mentors, so there will be a lag between your upload and it appearing to others (I'd recommend against using a zip file, since most of us are afraid to open those, so it takes longer before a brave mentor will open it to check and approve it :uhh:). If we take a ridiculously long time to approve the attachment (say it's sitting there 12-24 hours unnoticed), you can either send one of us a PM or report the post so we'll know it's there waiting for approval. We try to watch for attachments, but sometimes miss one.

    I hope that's what you were looking for.
     
  4. Jun 6, 2007 #3

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    an old example (click to view the source)
    [tex]\]
    \unitlength 0.02mm
    \begin{picture}(400,3000)(0,0)

    \textcolor{red}{
    \linethickness{3pt}
    \qbezier( 6110, 1946 )( 6230, 1948 )( 6230, 1948 )
    \qbezier( 5998, 1939 )( 6110, 1946 )( 6110, 1946 )
    \qbezier( 5881, 1928 )( 5998, 1939 )( 5998, 1939 )
    \qbezier( 5771, 1916 )( 5881, 1928 )( 5881, 1928 )
    \qbezier( 5648, 1905 )( 5771, 1916 )( 5771, 1916 )
    \qbezier( 5541, 1900 )( 5648, 1905 )( 5648, 1905 )
    \qbezier( 5425, 1903 )( 5541, 1900 )( 5541, 1900 )
    \qbezier( 5307, 1916 )( 5425, 1903 )( 5425, 1903 )
    \qbezier( 5193, 1936 )( 5307, 1916 )( 5307, 1916 )
    \qbezier( 5073, 1960 )( 5193, 1936 )( 5193, 1936 )
    \qbezier( 4959, 1980 )( 5073, 1960 )( 5073, 1960 )
    \qbezier( 4843, 1990 )( 4959, 1980 )( 4959, 1980 )
    \qbezier( 4731, 1984 )( 4843, 1990 )( 4843, 1990 )
    \qbezier( 4613, 1961 )( 4731, 1984 )( 4731, 1984 )
    \qbezier( 4505, 1926 )( 4613, 1961 )( 4613, 1961 )
    \qbezier( 4385, 1881 )( 4505, 1926 )( 4505, 1926 )
    \qbezier( 4273, 1843 )( 4385, 1881 )( 4385, 1881 )
    \qbezier( 4211, 1829 )( 4273, 1843 )( 4273, 1843 )
    \qbezier( 4148, 1822 )( 4211, 1829 )( 4211, 1829 )
    \qbezier( 4092, 1823 )( 4148, 1822 )( 4148, 1822 )
    \qbezier( 4036, 1832 )( 4092, 1823 )( 4092, 1823 )
    \qbezier( 3978, 1849 )( 4036, 1832 )( 4036, 1832 )
    \qbezier( 3920, 1874 )( 3978, 1849 )( 3978, 1849 )
    \qbezier( 3801, 1946 )( 3920, 1874 )( 3920, 1874 )
    \qbezier( 3687, 2028 )( 3801, 1946 )( 3801, 1946 )
    \qbezier( 3580, 2095 )( 3687, 2028 )( 3687, 2028 )
    \qbezier( 3519, 2121 )( 3580, 2095 )( 3580, 2095 )
    \qbezier( 3458, 2135 )( 3519, 2121 )( 3519, 2121 )
    \qbezier( 3429, 2137 )( 3458, 2135 )( 3458, 2135 )
    \qbezier( 3399, 2135 )( 3429, 2137 )( 3429, 2137 )
    \qbezier( 3370, 2128 )( 3399, 2135 )( 3399, 2135 )
    \qbezier( 3341, 2118 )( 3370, 2128 )( 3370, 2128 )
    \qbezier( 3286, 2088 )( 3341, 2118 )( 3341, 2118 )
    \qbezier( 3232, 2045 )( 3286, 2088 )( 3286, 2088 )
    \qbezier( 3113, 1913 )( 3232, 2045 )( 3232, 2045 )
    \qbezier( 2999, 1761 )( 3113, 1913 )( 3113, 1913 )
    \qbezier( 2880, 1621 )( 2999, 1761 )( 2999, 1761 )
    \qbezier( 2825, 1576 )( 2880, 1621 )( 2880, 1621 )
    \qbezier( 2771, 1551 )( 2825, 1576 )( 2825, 1576 )
    \qbezier( 2756, 1547 )( 2771, 1551 )( 2771, 1551 )
    \qbezier( 2740, 1546 )( 2756, 1547 )( 2756, 1547 )
    \qbezier( 2725, 1546 )( 2740, 1546 )( 2740, 1546 )
    \qbezier( 2709, 1549 )( 2725, 1546 )( 2725, 1546 )
    \qbezier( 2679, 1559 )( 2709, 1549 )( 2709, 1549 )
    \qbezier( 2648, 1579 )( 2679, 1559 )( 2679, 1559 )
    \qbezier( 2595, 1631 )( 2648, 1579 )( 2648, 1579 )
    \qbezier( 2542, 1707 )( 2595, 1631 )( 2595, 1631 )
    \qbezier( 2417, 1965 )( 2542, 1707 )( 2542, 1707 )
    \qbezier( 2312, 2227 )( 2417, 1965 )( 2417, 1965 )
    \qbezier( 2197, 2489 )( 2312, 2227 )( 2312, 2227 )
    \qbezier( 2137, 2587 )( 2197, 2489 )( 2197, 2489 )
    \qbezier( 2077, 2644 )( 2137, 2587 )( 2137, 2587 )
    \qbezier( 2062, 2650 )( 2077, 2644 )( 2077, 2644 )
    \qbezier( 2047, 2654 )( 2062, 2650 )( 2062, 2650 )
    \qbezier( 2032, 2654 )( 2047, 2654 )( 2047, 2654 )
    \qbezier( 2017, 2650 )( 2032, 2654 )( 2032, 2654 )
    \qbezier( 1987, 2632 )( 2017, 2650 )( 2017, 2650 )
    \qbezier( 1957, 2600 )( 1987, 2632 )( 1987, 2632 )
    \qbezier( 1904, 2506 )( 1957, 2600 )( 1957, 2600 )
    \qbezier( 1851, 2367 )( 1904, 2506 )( 1904, 2506 )
    \qbezier( 1791, 2159 )( 1851, 2367 )( 1851, 2367 )
    \qbezier( 1731, 1910 )( 1791, 2159 )( 1791, 2159 )
    \qbezier( 1672, 1641 )( 1731, 1910 )( 1731, 1910 )
    \qbezier( 1614, 1364 )( 1672, 1641 )( 1672, 1641 )
    \qbezier( 1555, 1099 )( 1614, 1364 )( 1614, 1364 )
    \qbezier( 1496, 868 )( 1555, 1099 )( 1555, 1099 )
    \qbezier( 1439, 698 )( 1496, 868 )( 1496, 868 )
    \qbezier( 1383, 597 )( 1439, 698 )( 1439, 698 )
    \qbezier( 1369, 585 )( 1383, 597 )( 1383, 597 )
    \qbezier( 1355, 578 )( 1369, 585 )( 1369, 585 )
    \qbezier( 1342, 576 )( 1355, 578 )( 1355, 578 )
    \qbezier( 1328, 580 )( 1342, 576 )( 1342, 576 )
    \qbezier( 1300, 604 )( 1328, 580 )( 1328, 580 )
    \qbezier( 1273, 651 )( 1300, 604 )( 1300, 604 )
    \qbezier( 1214, 832 )( 1273, 651 )( 1273, 651 )
    \qbezier( 1155, 1119 )( 1214, 832 )( 1214, 832 )
    \qbezier( 1125, 1300 )( 1155, 1119 )( 1155, 1119 )
    \qbezier( 1095, 1503 )( 1125, 1300 )( 1125, 1300 )
    \qbezier( 1065, 1726 )( 1095, 1503 )( 1095, 1503 )
    \qbezier( 1036, 1965 )( 1065, 1726 )( 1065, 1726 )
    \qbezier( 1006, 2215 )( 1036, 1965 )( 1036, 1965 )
    \qbezier( 977, 2473 )( 1006, 2215 )( 1006, 2215 )
    \qbezier( 947, 2735 )( 977, 2473 )( 977, 2473 )
    \qbezier( 918, 2996 )( 947, 2735 )( 947, 2735 )
    \qbezier( 891, 3223 )( 918, 2996 )( 918, 2996 )
    \qbezier( 865, 3442 )( 891, 3223 )( 891, 3223 )
    \qbezier( 839, 3649 )( 865, 3442 )( 865, 3442 )
    \qbezier( 813, 3841 )( 839, 3649 )( 839, 3649 )
    \qbezier( 752, 4202 )( 813, 3841 )( 813, 3841 )
    }
    \textcolor{yellow}{
    \qbezier( 692, 4421 )( 752, 4202 )( 752, 4202 )
    \qbezier( 692, 500 )( 692, 4500 )( 692, 4500 )
    \qbezier( 670, 537 )( 692, 537 )( 692, 537 )
    \qbezier( 670, 637 )( 692, 637 )( 692, 637 )
    \qbezier( 670, 736 )( 692, 736 )( 692, 736 )
    \qbezier( 670, 836 )( 692, 836 )( 692, 836 )
    \qbezier( 648, 935 )( 692, 935 )( 692, 935 )
    \qbezier( 670, 1035 )( 692, 1035 )( 692, 1035 )
    \qbezier( 670, 1135 )( 692, 1135 )( 692, 1135 )
    \qbezier( 670, 1234 )( 692, 1234 )( 692, 1234 )
    \qbezier( 670, 1334 )( 692, 1334 )( 692, 1334 )
    \qbezier( 648, 1433 )( 692, 1433 )( 692, 1433 )
    \qbezier( 670, 1533 )( 692, 1533 )( 692, 1533 )
    \qbezier( 670, 1632 )( 692, 1632 )( 692, 1632 )
    \qbezier( 670, 1732 )( 692, 1732 )( 692, 1732 )
    \qbezier( 670, 1832 )( 692, 1832 )( 692, 1832 )
    \qbezier( 648, 1931 )( 692, 1931 )( 692, 1931 )
    \qbezier( 670, 2031 )( 692, 2031 )( 692, 2031 )
    \qbezier( 670, 2130 )( 692, 2130 )( 692, 2130 )
    \qbezier( 670, 2230 )( 692, 2230 )( 692, 2230 )
    \qbezier( 670, 2330 )( 692, 2330 )( 692, 2330 )
    \qbezier( 648, 2429 )( 692, 2429 )( 692, 2429 )
    \qbezier( 670, 2529 )( 692, 2529 )( 692, 2529 )
    \qbezier( 670, 2628 )( 692, 2628 )( 692, 2628 )
    \qbezier( 670, 2728 )( 692, 2728 )( 692, 2728 )
    \qbezier( 670, 2828 )( 692, 2828 )( 692, 2828 )
    \qbezier( 648, 2927 )( 692, 2927 )( 692, 2927 )
    \qbezier( 670, 3027 )( 692, 3027 )( 692, 3027 )
    \qbezier( 670, 3126 )( 692, 3126 )( 692, 3126 )
    \qbezier( 670, 3226 )( 692, 3226 )( 692, 3226 )
    \qbezier( 670, 3326 )( 692, 3326 )( 692, 3326 )
    \qbezier( 648, 3425 )( 692, 3425 )( 692, 3425 )
    \qbezier( 670, 3525 )( 692, 3525 )( 692, 3525 )
    \qbezier( 670, 3624 )( 692, 3624 )( 692, 3624 )
    \qbezier( 670, 3724 )( 692, 3724 )( 692, 3724 )
    \qbezier( 670, 3824 )( 692, 3824 )( 692, 3824 )
    \qbezier( 648, 3923 )( 692, 3923 )( 692, 3923 )
    \qbezier( 670, 4023 )( 692, 4023 )( 692, 4023 )
    \qbezier( 670, 4122 )( 692, 4122 )( 692, 4122 )
    \qbezier( 670, 4222 )( 692, 4222 )( 692, 4222 )
    \qbezier( 670, 4321 )( 692, 4321 )( 692, 4321 )
    \qbezier( 648, 4421 )( 692, 4421 )( 692, 4421 )
    }
    \textcolor{green}{
    \qbezier( 692, 1931 )( 6230, 1931 )( 6230, 1931 )
    \qbezier( 913, 1915 )( 913, 1931 )( 913, 1931 )
    \qbezier( 1135, 1915 )( 1135, 1931 )( 1135, 1931 )
    \qbezier( 1356, 1915 )( 1356, 1931 )( 1356, 1931 )
    \qbezier( 1578, 1915 )( 1578, 1931 )( 1578, 1931 )
    \qbezier( 1799, 1898 )( 1799, 1931 )( 1799, 1931 )
    \qbezier( 2021, 1915 )( 2021, 1931 )( 2021, 1931 )
    \qbezier( 2243, 1915 )( 2243, 1931 )( 2243, 1931 )
    \qbezier( 2464, 1915 )( 2464, 1931 )( 2464, 1931 )
    \qbezier( 2686, 1915 )( 2686, 1931 )( 2686, 1931 )
    \qbezier( 2907, 1898 )( 2907, 1931 )( 2907, 1931 )
    \qbezier( 3129, 1915 )( 3129, 1931 )( 3129, 1931 )
    \qbezier( 3350, 1915 )( 3350, 1931 )( 3350, 1931 )
    \qbezier( 3572, 1915 )( 3572, 1931 )( 3572, 1931 )
    \qbezier( 3793, 1915 )( 3793, 1931 )( 3793, 1931 )
    \qbezier( 4015, 1898 )( 4015, 1931 )( 4015, 1931 )
    \qbezier( 4236, 1915 )( 4236, 1931 )( 4236, 1931 )
    \qbezier( 4458, 1915 )( 4458, 1931 )( 4458, 1931 )
    \qbezier( 4679, 1915 )( 4679, 1931 )( 4679, 1931 )
    \qbezier( 4901, 1915 )( 4901, 1931 )( 4901, 1931 )
    \qbezier( 5123, 1898 )( 5123, 1931 )( 5123, 1931 )
    \qbezier( 5344, 1915 )( 5344, 1931 )( 5344, 1931 )
    \qbezier( 5566, 1915 )( 5566, 1931 )( 5566, 1931 )
    \qbezier( 5787, 1915 )( 5787, 1931 )( 5787, 1931 )
    \qbezier( 6009, 1915 )( 6009, 1931 )( 6009, 1931 )
    \qbezier( 6230, 1898 )( 6230, 1931 )( 6230, 1931 )
    }

    \put(3550,2500){\makebox(0,0)[cc]{e^{-x}\cos(5x)}}
    \end{picture}
    \[
    [/tex]



    see also
    https://www.physicsforums.com/showpost.php?p=1009015&postcount=723
     
  5. Jun 6, 2007 #4
    All that to display that simple graph? :surprised
     
  6. Jun 6, 2007 #5

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Yep.
    One is essentially plotting the sampled points of the function.
    \qbezier requires three arguments however. A line arises if you
    choose the second argument to be the coordinates of a point
    on the line. You can use a tex macro so that only two are specified,
    and the script repeats one point.

    Since java or javascript isn't allowed here to calculate points from a formula, you would have to go to an external program to make your plot. Then, host the image somewhere and link to it (if the particular forum allows IMG)... otherwise, attach a plot [taking up your allocated space] and hope it approved.

    Here's a fancy 3D plot derived from a Maple .eps plot.
    [​IMG]

    https://www.physicsforums.com/showpost.php?p=968788&postcount=692
    (for some reason, the TeX source doesn't show up) on the linked page above

    (It would be cool if we could host a local copy of the LiveGraphics3D .jar file that produces
    http://www.vis.uni-stuttgart.de/~kraus/LiveGraphics3D/examples/surfaces.html )
     
    Last edited: Jun 6, 2007
  7. Jun 6, 2007 #6

    Chris Hillman

    User Avatar
    Science Advisor

    Hurrah!

    Thanks, Rob! I'll give a whirl if I can produce sufficiently small (in Bytes) but still useful images.

    [EDIT: Looks like it worked! :smile: ]
     
    Last edited: Jun 7, 2007
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Is it possible to upload a plot of a function?
  1. Avatar Upload (Replies: 1)

  2. Uploading to PF (Replies: 2)

  3. How to upload images (Replies: 6)

  4. Signature image upload (Replies: 6)

  5. Uploading pictures (Replies: 4)

Loading...