Questions tagged [plotting]

Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.

944 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
56 views

Avoiding label bubbles overlapping horizontal line segments in TimelinePlot

I am creating a very large TimelinePlot, with perhaps six times the number of entries as in this near-minimal example (code below): Notice that bubble (labels) for the entries below the horizontal ...
2
votes
0answers
46 views

Encoding spatial data in Mathematica

I am doing some experimentation with machine learning and robotics, and want Mathematica to be my primary platform. For it, I need to represent a room with some obstacles (circles) and a goal (square)....
2
votes
0answers
59 views

How to segment a 3D data automatically?

I have a data dataCube, which consist of some floating stones and a circular belt. I want to get the 4 biggest stones from the image, and segment out the outer belt ...
2
votes
0answers
78 views

ListDensityPlot using

I have two data tables with identical parts along the vertical axis. For example: ...
2
votes
0answers
81 views

Logarithmic scale in the legend of a GeoRegionValuePlot

Is there a way to make the bar legends show the values 1 to 9000 using a logarithmic scale than what Mathematica is automatically giving me? Here's my plot: The data I am using: ...
2
votes
0answers
58 views

Not uniform axes thickness in the plot

I am using Mathematica to prepare figures for a paper. I found that the thickness of the frame axes can easily become not uniform. For example, when I changed the frame thickness using ...
2
votes
0answers
51 views

How to place a ListPlot in a Texture without losing resolution?

I have a code that produces the left plot (vectorised image), and makes into a Texture in order to have it under a ListPlot3D (...
2
votes
0answers
84 views

Plotting symmetric closed loop on surface of sphere (plotting spherical knot)

Here are some my attempts. ...
2
votes
0answers
66 views

How do I recreate the lines and labels as seen in this image?

How do I recreate the light gray lines and labels pointing to the zeros of this function? I have no prior experience using Mathematica, so please include all code or resources. I have the list of ...
2
votes
0answers
99 views

Slow Plotting of a Piecewise Function

I have stumbled upon an issue that seems very weird to me. I have two Piecewise functions that describe exactly the same curve. The only difference between them is that the first function has two ...
2
votes
0answers
117 views

Computing quadratic differential trajectories with Mathematica

There was a question about a particular case of this, Quadratic differentials; seemingly it contained too little information, so let me try again. This will be also a second take on my previous ...
2
votes
0answers
177 views

Problem with ImplicitRegion

Mathematica draws the domain ...
2
votes
0answers
71 views

Accuracy problem with BodePlot

Hoping to find a quick answer to a question of frequency response of multiple band-pass filters in closed loop, I opened up Mathematica,and entered the first set of ...
2
votes
0answers
83 views

Unexpected behaviour of RegionFunction in 3D plot

I am trying to plot a function defined in a specific parameter space using the RegionFunction option in Plot3D. So, this is how ...
2
votes
0answers
154 views

Contour lines in ListContourPlot with InterpolationOrder 0

I have a dataset and would not want Mathematica to interpolate at all while plotting the contours. This is because the data contains essential binning information and the "steps" in the ...
2
votes
0answers
73 views

ViewPoint messes up Export?

Version: 11.3.0 for Mac OS X x86 (64-bit) (March 7, 2018) ...
2
votes
0answers
47 views
2
votes
0answers
65 views

“EventLabels” option no longer working for TradingChart in 11.3

I used EventLabelsoption with TradingChart and CandlestickChart functions in Ma 11.1. I ...
2
votes
0answers
115 views

Normal vector in discrete 3D object

Consider a large array(~42000,3): array={{x1,y1,z1},{x2,y2,z2},...,{xn,yn,zn}}; This array forms a certain shape, it may contain cavities or other ...
2
votes
0answers
41 views

TooltipLabel issue with BarChart3D

Need a workaround so I can plot a tool tip that provides the bar height and in the same tool tip also gives the parts of the dataset that created the bar in ...
2
votes
0answers
234 views

Parametric Density Plot

I want to combine the features of the functions DensityPlot and ParametricPlot. That is, I have three functions $f(x,y)$, $g(x,y)...
2
votes
0answers
83 views

Helvetica font becomes vague (black becomes gray) in exported pdf figure

I'm trying to set the font of several labels in my data plot as Helvetica Neuve. When I was working in the notebook, it looks well, for example: ...
2
votes
0answers
46 views

ParametricPlot causes Manipulate to update when local & external variable share the same name

Here is a strange behavior reminding me of a previous bug when Manipulate updates without reason, but it is probably not the same reason here and seems to be ...
2
votes
0answers
58 views

How to force Mathematica to plot the log function correctly for the given argument?

Consider functions ...
2
votes
0answers
141 views

ListLogPlot ignores FrameTicks specification

Bug existing in 10.4.1, fixed in 11+ I have a data set ...
2
votes
0answers
111 views

Don't understand the 1st example given for ListPlot3D

I don't understand how the first of the basic examples in the documentation on ListPlot3D is generating the plot that it does. ...
2
votes
0answers
177 views

Extracting boundary surface of a RegionPlot3D

Is there a way to extract boundary surface from a 3d region plot? I've plotted my equations using: ...
2
votes
0answers
120 views

Handling oscilloscope bitmap data

I'm using an oscilloscope from Tektronix; its output is formatted as a $n \times (m + 2)$ matrix, where $n$ is the number of vertical divisions and $m$ the temporal scale. The first $9\times 2$ ...
2
votes
0answers
115 views

Exporting ParametricPlot to .pdf

I am trying to use ParametricPlot to produce some nice looking images of regions bounded by various curves. However, the plots look weird when I export them to .pdf. For example, I have tried plotting ...
2
votes
0answers
244 views

SciDraw/CustomTicks: LogTicks with LogPlot->True produces tick labels with errant decimal points

Using SciDraw (for customTicks), when I set SetOptions[LogTicks, LogPlot -> True] I get errant behavior. When LogTicks does work for LogPlots/LogLogPlots, as ...
2
votes
0answers
71 views

How to Plot3D when boundary of plot region doesn't return a number

I discovered an idiosyncrasy in how Plot3D works with an irregular region, in Mathematica 10: Plot3D first numerically evaluates ...
2
votes
0answers
103 views

ParametricPlot and ParametricPlot3D crash with subscript notation

Bug introduced in 11.0 and persisting through 11.2 In all previous versions of Mathematica, the following works perfectly well: ...
2
votes
0answers
80 views

How to make BoundaryDiscretizeRegion work for a RegionUnion of polygons?

This question is related to this one. I want to display the RegionUnion of a large set of smaller polygons. If simply use Region ...
2
votes
0answers
173 views

Why is my parallel version of `DensityPlot` slow?

I am exploiting the possibility to parallelize DensityPlot. This is my naive implementation ...
2
votes
0answers
109 views

Exporting to pdf or svg a 3DPlot changes the color function

I generated a 3D plot with some shades for the z coordinate in Mathematica 11.0. The result is : However, when I export it as svg or as pdf I get a picture in shades of green only. Moreover, it is ...
2
votes
0answers
192 views

Solving a system of nonlinear PDEs with a piecewise initial condition

I need somw help in using NDsolve. I have a complex system of two PDEs which I am trying to solve numerically (shown in the code below with initial conditions and boundary value condition). I want to ...
2
votes
0answers
195 views

How to create 2D ImageHistogram?

Using ImageHistogram I can find the frequency of each color value in an image. Applying the same, I can have a histogram of its gradient values. I wish to combine these two on a log scale such that X -...
2
votes
0answers
128 views

Making code faster?

I am dealing with a very simple code, which turns to be slow when I try to plot the final Piecewise function. Is the code computing back again the integral iteratively rather than just substituting d=...
2
votes
0answers
107 views

3D surface with constrained draw on it and transparency added

This is a nice draw ...
2
votes
0answers
226 views

Extract points from ParametricPlot3D

I have this ParametricPlot3D ...
2
votes
0answers
347 views

Scaled option for tick numbers' size

For axes label the scaled FontSize works like charm. If I do: ...
2
votes
0answers
892 views

Plotting the Magnetic Field

I have a dataset of $ \textbf{B} = {B_x, B_y, B_z}$. (Quite a big dataset :78*100*150) I want to plot magnetic field lines. If I was working with an analytical function, the magnetic field line ...
2
votes
0answers
205 views

PDF PROBLEM when exporting Mathematica code

I am always running into the problem that my figures are cut-off when I export my entire mathematica notebook as a PDF. Can anyone help me ?
2
votes
0answers
184 views

numberlineplot with labeled

I figure the answer to this may be really simple. Why does ListPlot[MapThread[Labeled[ #1,#2,Left] &,{{1,5,-4,2}, {"pt1", "pt2", "pt3", "pt4"}}]] plot and ...
2
votes
0answers
122 views

Different display of ticks in windows and linux

I made my code on a windows computer, mathematica 11.0.1. For the plots I used self defined ticks. Here all the ticks are shown. However, I did simulations on a linux computer (also mathemativa v11.0....
2
votes
0answers
114 views

Plot trackers for defects in vector field

I plot some defect configurations like these and I would like to be able to add some trackers on top of them, similar to these: A much simpler working example of the first picture can be produced ...
2
votes
0answers
76 views

Which real part of a function given by an implicit equation should I choose?

I want to plot the real part of function $y(x)$ given by the following implicit equation: $$[y + (e + f x^2)x^2 + 23 x^2](gy + x^2 + 2 \frac{a}{d^2}\ln\frac{1 - b}{1 - c}) =0,$$ where $a$, $b$, ...
2
votes
0answers
215 views

Plots in a Grid: negative spacing and transparency

I am trying to produce a grid of color plots, where only the outer frame borders have labels, labeled ticks, and color bars. So the outer dimensions of all plots in the grid are different, because ...
2
votes
0answers
34 views

How to get CoordinatesToolOption working for List and DateListPlots

I am trying to get the Getcoordinate tool tip on ListPlot and DateListPlots displaying for example the date instead of the ...
2
votes
0answers
160 views

cdf player poiseuille flow

i am trying to model the dynamic behavior of a micropolar fluid. From the equations of motion we derive the analytical solution for the fluid velocity which is I am interested only in u(y). I found ...

1 2 3
4
5
19