« first day (2880 days earlier)      last day (1587 days later) » 

7:34 AM
Any idea to plot something like this on Mathematica?
https://i.stack.imgur.com/eCpbp.gif
 
 
1 hour later…
8:46 AM
@anhnha What part of the plot is it that troubles you?
 
9:00 AM
@C.E. what function should I use?
I tried ParametricPlot3D
but couldn't make it
 
@anhnha Could you show the code?
 
fo = 1000;
ParametricPlot3D[{Cos[2 Pi fo t], Sin[2 Pi fo t], t}, {t, 0, 10},
PlotPoints -> 200]
 
@anhnha try setting fo to 1
 
that works!
now I'll need to try with the projector
 
@anhnha What is your plan for how to do that?
 
9:05 AM
They're 2D functions so I'm thinking how to plot 2D in 3D
 
@anhnha Consider using Plot3D with a function like this: {1, y, f[z]}, e.g. one component is constant.
 
 
2 hours later…
11:29 AM
ops, Plot3D does not accept that type of argument. Well, tell me if you need help.
 
12:12 PM
@C.E. so how would you add the real and imaginary functions on the plot generated by that ParametricPlot3D?
 
@anhnha My idea is the same as before, it's just that I said Plot3D instead of ParametricPlot3D:
ParametricPlot3D[{
  {t, Cos[2 Pi t], Sin[2 Pi t]},
  {t, Cos[2 Pi t], -2},
  {t, 2, Sin[2 Pi t]}
  },
 {t, 0, 3},
 PlotRange -> {{0, 3}, {-2, 2}, {-2, 2}}
 ]
 
12:30 PM
I see. is there a simple way to know which axis is which?
Also how can I add grid in each side?
 
@anhnha Did you look in the documentation and did anything seem relevant?
f.e. FaceGrids:
FaceGrids -> {{-1, 0, 0}, {0, 1, 0}, {0, 0, -1}},
Boxed -> False
As to how to tell which axis is which, there are lots of ways. You can tell be the direction in which the curve is travelling, you can tell by the coloring of the curves (in the order blue, orange, green), you could use plot labels to labels the axes etc.
 
The first method to determine axis is really hard
how do you check the color to know the axis?
 
Just make a couple of plots and see what the default colors are for the first, second, and third plot. Then see where those colors end up in your 3D plot.
Or otherwise, just look what the curves look like. One is a sin curve, the other one is a cosine. Like I said, lots of ways.
 
12:59 PM
Curve lines are not good because sometimes you don't know what curve is which
 
1:15 PM
Can anybody test if the following is fixed in v12 desktop?: mathematica.stackexchange.com/q/21826/1871
 
not yet
 
@anhnha Thx. What's somewhat funny is, it's fixed on Cloud.
 
"12.0.0 for Microsoft Windows (64-bit) (April 6, 2019)"
 
 
1 hour later…
2:47 PM
@xzczd Also an issue in the prerelease.
 
@CarlLange Aha
 
 
2 hours later…
4:34 PM
@anhnha Of course you do, if you plot ParametricPlot3D[{f1, f2, f3}, ...] then you know that f1 will be colored blue, f2 will be colored orange, and f3 will be colored green. But if you don't like that, why don't you add labels like I suggested?
AxesLabel -> {"X", "Y", "Z"}
 
 
3 hours later…
7:06 PM
@C.E. I also use label
 
 
5 hours later…
11:40 PM
@anhnha @xzczd @CarlLange Some else had to point me to my own answer about this :)
16
A: Can anyone explain this strange behavior of InputForm?

halirutanI consider this a bug in the front end. Very odd it is, that not all forms eat up the first result. Consider this simple example m = {1}; MatrixForm@m MatrixForm@m which gives 2 outputs as expected. If we look on the traffic between kernel and front end, then we see, that the kernel indeed sen...

And it is indeed a bug that is very very old.
 

« first day (2880 days earlier)      last day (1587 days later) »