New answers tagged plotting
1
vote
0
votes
How to plot 3D spherical graph using x y data?
You could proceed as follows:
-Interpolate the data (delete the last element of T as Syed noted)
-Define a piecewise function that returns 0 for radius > data range
-Use DensityPlot3D with a region ...
5
votes
Accepted
Plotting, Integrating two variable function with cross-restricted domain
For the plot you can use RegionFunction, which takes a pure function which takes x, y, and z values::
...
0
votes
How to write divided differences in Mathematica?
Divided differences can be calculated as follows.
...
9
votes
Accepted
How to use PlusMinus properly?
Per the documentation, you could define the function for PlusMinus:
...
5
votes
Scalloped edges to Plot3D with Disc domain
Rather than manually increasing the number of PlotPoints, increase the MaxRecursion parameter instead, to let the built-in ...
9
votes
Accepted
Scalloped edges to Plot3D with Disc domain
Plot3D[(x^2 + y^2 - 100)^2, {x, -14, 14}, {y, -14, 14},
PlotPoints -> 100,
RegionFunction ->
Function[{x, y}, {x, y} ∈ Disk[{0, 0}, 13.5]]]
Or
...
2
votes
5
votes
Accepted
Again there are some holes in my plot
The function a shows in some regions of the x-y plane small imaginary parts.
You can get rid of them by modifying the plot command to
...
5
votes
Already generated plots missing in Show
Clear["Global`*"]
Define separate functions rather than separate plots.
...
5
votes
3
votes
Accepted
How to fix vertexnormals to eliminate a little shadow on the sphere?
Use {θ, Subdivide[0.0001, Pi - 0.0001, 51]} instead of {θ, 0., Pi, Pi/50} to avoid the singularities in spherical coordinates. ...
6
votes
Accepted
Empty .png figures generated by a function "PlotWithGrid" whereas no problem with Export function
Ok, finally managed to get it to run from within wolframscript...
I have created an updated version of PlotGrid that should work ...
7
votes
Finding the height and width of a plot?
You can use the ResourceFunction GraphicsInformation to obtain this information:
...
4
votes
Finding the height and width of a plot?
I think the question is about ImageSize and not PlotRange. One way to get the "current" size
...
6
votes
Adding a second legend to Plot?
You can use a list of multiple legends as the option setting for PlotLegends:
...
4
votes
Accepted
Making a plot half the width and height of another plot?
Is there a simple way to make another plot whose frame is is half the
width and height of plot P1?
I do not know if I understood the question correctly. If not, will delete this. But how about using ...
4
votes
Finding the height and width of a plot?
I can suggest another simple solution:
plot = Plot[x^2, {x, 0, 100}]
Association[Options[plot]][PlotRange]
(* {{0, 100}, {0., 10000.}} *)
5
votes
Finding the height and width of a plot?
Finding the height and width of a plot?
I think you are looking for something like the Wolfram Function Repository (WFR) function
GraphicsBounds.
It seems that ...
2
votes
Accepted
Finding the height and width of a plot?
This is an interesting question and I do not think there is a general answer to your request. A simple answer might be to set the ImageSize option. This sets the ...
1
vote
PlotPoints does not work properly in ParametricPlot3D
The plot corresponding to the first block of code in the question is, with R = 1 for specificity,
...
4
votes
Accepted
5
votes
Accepted
6
votes
Accepted
How to add ticks for mesh?
Use Solve or NSolve to find all the intersection points and use Epilog to add all the lines ...
1
vote
Numerical Plot for an example
When we use NDSolveValue, the result sol is the interpolation function. It is difference to ...
6
votes
Accepted
Lighting a ListPlot3D with a Texture
Use Lighting -> "Neutral" as a styling directive in PlotStyle:
...
6
votes
How to create Gantt charts
We can use Wolfram Function Repository (WFR) function ProjectDataGanttChart.
Here is an example:
...
4
votes
Lighting a ListPlot3D with a Texture
EDIT
Using ListPlot3D:
So I modified the texture that was a purple sheet mostly.
...
5
votes
Accepted
5
votes
Accepted
0
votes
1
vote
3
votes
Beautiful Color Schemes for 3D Plots
We can use Format->Stylesheet->Book->Textbook to select the theme.
And use Alt+8 to input the code.
...
13
votes
Accepted
Build a 3D heat map plot from 4D data
Using your data
{fmin, fmax} = MinMax@data[[All, 4]]
(* {0.996823, 1.00672} *)
Using ...
0
votes
How to approximate a function using B-spline interpolation?
B splines are already built into MMA.
To expand Sin[x] over the region 0 o 2 Pi into B splines of degree d=3 we choose a basis of b splines with uniform knots at a distance of 1/(d+1):
...
1
vote
Accepted
How to avoid holes in combined 3D Plot and 2D Plot
Increasing the range in {z, min - 1, min + 1} removes the holes, that come from the surface existing outside the defined range.
...
2
votes
Accepted
Adding observation to time series
As you did not post some sample data we create 2 time series:
...
5
votes
How to draw a heat map for some data across a circular region?
Here's your data. You can fill in the empty spaces, where values are zero, using your own method.
...
1
vote
RotateLabel doesn't work?
Another work around that seems less kludgy: Use Show[p1,... RotateLabel -> False]. The List*Plot function must fumble the <...
5
votes
Accepted
0
votes
Getting the "correct" branch of a complex function
A minor generalization of Michael E2's excellent answer, just to show the final result (I solve for the vertical cut so that $\lambda$ can vary)
...
5
votes
Accepted
Getting the "correct" branch of a complex function
Maybe this shows what is desired:
Sheet #1:
...
4
votes
Accepted
Making text larger without changing size of superscript?
You can style each element of the Subsuperscript independently:
...
4
votes
Accepted
NSum::nslim: Limit of summation k is not a number. Help, please(
Your teacher code has lots of problems.
Try this notebook
You have used a and b as numbers, then later defined ...
0
votes
Accepted
Animate a point that follows a function inside a plot
I honestly couldn't follow your code, but I think I get the gist of your question. One thing that you need to take care of is what the range of the animated point is. You're just making assumptions ...
1
vote
Accepted
Create a Table with 3 different variables from 2 Lists and 1 Table
Let's assume that the x-coordinates are in a list called xs. Similarly for a list called ys. Let's say ...
0
votes
Writing code for a diagram
Here is a part of my package for performing calculations with Feynman diagrams:
1.1 Define a set of Feynman diagrams
...
1
vote
Accepted
1
vote
1
vote
Plotting horizontal lines on Bode plot
This is a LogLinearPlot. Let's use an example plot from the documentation and draw lines over it.
...
Top 50 recent answers are included
Related Tags
plotting × 13974graphics × 1657
differential-equations × 796
graphics3d × 764
color × 646
list-manipulation × 582
legending × 574
manipulate × 548
equation-solving × 500
labeling × 407
functions × 365
calculus-and-analysis × 346
regions × 323
bugs × 281
parametric-functions × 279
numerical-integration × 267
visualization × 264
complex × 254
ticks × 243
export × 240
animation × 204
logarithmic-scale × 197
probability-or-statistics × 170
data × 170
interpolation × 169