Is it possible to upload a plot of a function?

  • Thread starter Chris Hillman
  • Start date
In summary, it is possible to upload a plot of any function, but the complexity of the function and limitations of the software may affect its accuracy and quality. The format of the plot may vary depending on the software, and some may have the capability to upload 3D plots while others may not. There may also be limitations on the size of the function plot that can be uploaded, and the ability to edit the plot after uploading also depends on the software being used. It is important to check the features and capabilities of the software before attempting to upload a function plot.
  • #1
Chris Hillman
Science Advisor
2,355
10
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.)
 
Physics news on Phys.org
  • #2
You can upload small attachments in various formats:
Valid file extensions: bmp doc gif jpe jpeg jpg m ms mw mws nb pdf png psd txt zip

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.
 
  • #3
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
 
  • #4
robphy said:
an old example

All that to display that simple graph?
 
  • #5
neutrino said:
All that to display that simple graph?

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.
https://www.physicsforums.com/latex_images/96/968788-0.png

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 by a moderator:
  • #6
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:

1. Can I upload a plot of any function?

Yes, it is possible to upload a plot of any function. However, the complexity of the function and the limitations of the software or program being used may affect the accuracy and quality of the plot.

2. What format should the function plot be in?

The format of the function plot depends on the software or program being used. Some may accept common image formats such as JPEG or PNG, while others may require a specific file format such as CSV or TXT.

3. Is it possible to upload a 3D plot of a function?

Yes, it is possible to upload a 3D plot of a function. However, not all software or programs may have the capability to create or display 3D plots. It is important to check the features and capabilities of the software before attempting to upload a 3D plot.

4. Are there any limitations to the size of the function plot that can be uploaded?

Yes, there may be limitations to the size of the function plot that can be uploaded. This depends on the memory and processing capabilities of the software or program being used. It is best to check the specifications or guidelines of the software beforehand.

5. Can I edit the function plot after uploading it?

This depends on the software or program being used. Some may allow for editing of the function plot, while others may not have this capability. It is important to check the features and capabilities of the software beforehand.

Similar threads

  • Sci-Fi Writing and World Building
Replies
7
Views
1K
  • Programming and Computer Science
Replies
1
Views
1K
  • Programming and Computer Science
Replies
15
Views
1K
Replies
11
Views
1K
  • General Discussion
Replies
4
Views
650
Replies
6
Views
1K
  • Sci-Fi Writing and World Building
Replies
31
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
2K
  • High Energy, Nuclear, Particle Physics
Replies
9
Views
2K
Replies
7
Views
2K
Back
Top