Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.
2
votes
2
answers
324
views
Piecewise Function Error
I want to plot such a figure
I used command Plot[Piecewise[{{1,x<0},{x,x=0},{1,x>0}}],{x,-3,3}].
But it shows wrong results.
2
votes
1
answer
172
views
Polar Plot Features
how can I add the arrow symbol in Polar plot figure (see the attached file), from the point (0,0) to the tangent point?
code example:
theta = -45;
the = theta*Pi/180;
alp = 20;
gc = Sqrt[1 + alp*Cos …
3
votes
1
answer
208
views
Tangent point in Polar Coordinates
I don't know which command to determine the tangent lines that are parallel to the line $x=0$ (i.e. the y-axis) in Polar Coordinates. Can you help me please to give me some suggestions?
I attach some …
5
votes
3
answers
2k
views
Surface plot for matrices (Matlab-Mathematica)
Now I am try to convert matlab file to mathematica,
This is the original Matlab command, surf, for making surface plots:
surf (xei , yei , zei , EE,'FaceColor ','interp ','FaceAlpha ' ,1.0 , 'LineW …
1
vote
1
answer
238
views
ListContourPlot in Mathematica
.^2);
contourf(X,Y,Z,10)
The plotting effects from both softwares are not the same.
My question is how can we have the ContourPlot effects (this example) like those in Matlab?
References:
(1). …
1
vote
1
answer
259
views
'quiver' function in MMA (quiver(x,y,u,v))
How to calculate Quiver using the "quiver function" ("Matlab-like")?
quiver(x,y,u,v) plots vectors as arrows at the coordinates specified
in each corresponding pair of elements in x and y. The matric …
2
votes
2
answers
428
views
Grids for FindShortestPath
how to create a program that produces a screenshot-like effect?
1
vote
1
answer
106
views
How to define a cube unit based on Graphics3D [duplicate]
I would like to ask,how can we draw 50 spheres of radius 0.1 (randomly) in the unit cube.
This is my first try,
Graphics3D[
Table[{Red, Sphere[RandomReal[{0.1, 0.9}, 3], 0.1]}, {50}],
PlotRange …
5
votes
3
answers
115
views
Plot the lines (nodes) for the given value from NDsolve output
I want to plot lines for a specific single value from the output in Nsolve (we need to find these nodes from the output ufun, then plot them).
ufun = NDSolveValue[{-Laplacian[u[x, y], {x, y}] == 10, …
5
votes
2
answers
850
views
'gradient' function in MMA
How to calculate Numerical gradient of 2D arrays using the "gradient function" ("Matlab-like")?
"[___] = gradient(F,hx,hy,...,hN) specifies N spacing parameters for
the spacing in each dimension of F …
15
votes
2
answers
1k
views
Solving Cahn-Hilliard equation: LinearSolve: Linear equation encountered that has no solution
I have built the Cahn-Hilliard Eqs. in MMA (Mixed Formulation, second order), However, it doesnot work in MMA using Finite Element.
LinearSolve: Linear equation encountered that has no solution.
And " …