Skip to main content

Questions tagged [plot-themes]

Questions on PlotTheme and styling plots.

Filter by
Sorted by
Tagged with
3 votes
2 answers
134 views

Plotting Phase Portrait of Duffing Equation

I study a paper that describes a stationary problem where the function $\Phi_d$ satisfies the boundary conditions and is governed by a modified Laplace equation with a non-linear term. Here's a ...
Athanasios Paraskevopoulos's user avatar
3 votes
2 answers
132 views

How to modify PlotTheme->"Marketing"?

The code is lent from this and later modified as per need, as shown below: ...
user444's user avatar
  • 2,446
0 votes
0 answers
34 views

How to make a DensityPlot where parameters are dependent on each other?

I want to plot a variable function $\theta_sh=2*\theta_\infty(b,\Gamma)$, where $q$ and $\alpha$ are parameters such that $b$ is given by $L(\gamma)$. But I am not able to set the range of parameters. ...
Amnish's user avatar
  • 47
0 votes
0 answers
58 views

How to make ListPlot points not pixelated while decreasing PointSize?

I was using ListPlot and noticed PlotStyle -> {Directive[Dotted, AbsolutePointSize[0.001]]} makes the points pixelated (...
user444's user avatar
  • 2,446
-2 votes
2 answers
63 views

How to make a specific region in density plot [closed]

There is a variable A(q,a). The plot shows the density plot of "A" with variable q and a. I have a certain range of "A" from (45,50) that i have to mark in the plot, which is in ...
Amnish's user avatar
  • 47
4 votes
2 answers
92 views

Plotting different plot in a single grid frame without combining them

We can show the plot together, but how do we show different plots in the same grid frame without combining them? I have tried the GraphicsColumn and it shows the ...
Amnish's user avatar
  • 47
4 votes
4 answers
268 views

How to get a black transparent background in Plot3D?

Is there a way to manually make a black transparent background like the one in the Marketing theme? As an example, let's say I have the following code: ...
Entangled Quark's user avatar
0 votes
0 answers
24 views

Using the classic contour plot theme [duplicate]

I am writing a manuscript and all my plots were made in a slightly older version of Mathematica (version 12). The old contour plots had this blue to gold to white coloring scheme (see attached). When ...
xelo747's user avatar
  • 101
7 votes
1 answer
498 views

There's a nice 3D graph in the help file of the Plot3D function. How can I reproduce it?

I find the two graphs (see below) in Plot3D's help page elegant and appealing. How can I reproduce it? I read the whole help page but didn't find how the graphs ...
Frank's user avatar
  • 173
4 votes
2 answers
247 views

Each Line in Different Colour after Reflection

The following code gives me a reflection pattern inside a circular billiard from time, $t=0$ to $t=10$. The figure below shows all the rays are in a single colour after reflection. However, I want ...
user444's user avatar
  • 2,446
0 votes
1 answer
54 views

Adding an empty circle to this plot, plus changing styles

I cannot find a god solution to highlight the intersection point between these two curves, in the plot I made: ...
Enrico M.'s user avatar
  • 961
0 votes
1 answer
81 views

How to change FeynArts Paint style settings?

I'm a Mathematica stylesheet enthusiast. I love using beautiful stylesheet instead of the default one, such as Dracular. I'm also a physics researcher on scattering amplitudes, which forces me to use ...
Handger's user avatar
  • 19
2 votes
2 answers
149 views

How to Add Inner Squares to Bar Chart Using BarChart[] Function?

I need to create a couple of bar charts, and I'm using the BarChart built-in function. Currently, I have managed to make them look like the image on the left. ...
Daniel Checa's user avatar
4 votes
2 answers
198 views

How to make the same color scale range for all plots?

I would like to make a density plot of a function: $f=B(r^2+z^2)sin^2z$ for some range of parameter B. The color scale for each graph has a different value. For instance, for $B=5: f=600$ is white ...
Mam Mam's user avatar
  • 1,863
2 votes
1 answer
108 views

Why axes arrows are not present? [closed]

Consider some test data ...
John Taylor's user avatar
  • 5,827
3 votes
1 answer
202 views

How to get matplotlib-type ticks? [closed]

Consider the following plot, obtained with the Python plotting library matplotlib: Is it possible to get the plot ticks to have this same style in a Mathematica ...
sam wolfe's user avatar
  • 4,863
1 vote
1 answer
45 views

How to color functions on a graph in different colors when using Table? [duplicate]

Why are both parabolas of the same color in the first code, and different in the second code? How to make each parabola a different color in the first case and make the corresponding legend? 1. ...
Mam Mam's user avatar
  • 1,863
3 votes
2 answers
176 views

Colouring stacked 2D in 3D

...
user444's user avatar
  • 2,446
3 votes
1 answer
101 views

Tick control when using PlotLayout

I finally installed 13.3 coming from 12.3 and I was giving some new features a test. I was excited by the new PlotLayout feature of ...
MarcoB's user avatar
  • 67.3k
8 votes
5 answers
452 views

Highlight parts of two different curves

In the plot generated by y = 1; Plot[{Sin[x] x^-2/y, y}, {x, 0, 2}, PlotRange -> {0, 2}] how can one highlight the curve as shown below, and possibly fill ...
User1729173's user avatar
0 votes
1 answer
68 views

Differently colored points inside the circle

Let Ar1 = {{1/2, 1/2}, {-1/2, 1/2}}, Ar2 = {{-1/2, -1/2}, {1/2, -1/2}} and ...
Fancier of Mathematica's user avatar
3 votes
1 answer
79 views

LineLegend can't draw rounded dashes?

I have a plot with rounded dashes, but LineLegend seems to be unable to draw them. ...
WillG's user avatar
  • 960
1 vote
1 answer
40 views

How to Plot Specific ListContourPlot?

I would like to plot the following list ...
SAC's user avatar
  • 1,335
0 votes
1 answer
56 views

Is it possible to ask Mathematica to crop a specified area in the given plot? or, is it possible to manually erase redundant part of a plot?

I am using this code ...
Martha97's user avatar
  • 349
3 votes
1 answer
85 views

Is it possible to ask Mathematica to crop only the red area in the given code?

I am using this code ...
Martha97's user avatar
  • 349
4 votes
1 answer
151 views

How to get rid of Manipulate in the given code? and use two colors and black points at the conjunctions?

I am using the code below (from this link) and the result is the pentagonal tiling on the left-hand side. Questions: How can I get rid of Manipulate in the code ...
MsMath's user avatar
  • 195
2 votes
1 answer
112 views

Thick axis with arrow heads

By applying AxesStyle -> Arrowheads[{0.0, 0.05} we can make the appearance of the axis with an arrow at the extremities as follow : ...
Aymane Fihadi's user avatar
4 votes
1 answer
147 views

Custom scaling of x-axis in ListLogPlot

My question is a lot similar to the one about Custom Scaling of x-axis in ListPlot, however since I am using ListLogPlot, the option of ScalingFunctions does not work. I have a data set: ...
WaleeK's user avatar
  • 79
1 vote
1 answer
100 views

How to remove particular mesh points in the given plot?

I am using this code ...
math2021's user avatar
  • 749
7 votes
3 answers
235 views

Is it possible to specify the size of the length and width of a plot separately? [closed]

Is it possible to specify the size of the length and width of a general Plot output? Using AspectRatio changes both vertical and ...
math2021's user avatar
  • 749
1 vote
0 answers
67 views

a plot with two x-axis :one for mass in eV and the other for frequency in MHz

I'm now confused by the problem that as I was planning to draw a plot with two x-axis :one for mass in eV and the other for frequency in MHz (Note that 1MHz=6.58×10^(-10) eV is taken here), I can't ...
Hunter's user avatar
  • 31
1 vote
1 answer
65 views

Converting a complex matrix into an equal-sized PNG

Now, I would think that when I run the following code, I'd get a 20x20 pixel image I could copy as a PNG with all the pixels corresponding to the given(although in this case random) data. Instead, I ...
Laff70's user avatar
  • 171
0 votes
0 answers
55 views

Getting Log10 axis in Graphics Function

In the output shown in the following image, I need x axis to be logarithmic (base 10) instead of linear. When I used ListLogLinearPlot function I got scattered points instead of the required B Spline ...
Srihari M Subodha's user avatar
-1 votes
3 answers
97 views

Interpolation of a function from numerical data and getting plots [closed]

I need to plot between two functions $f(h)$ and $g(h)$. I have the numerical data of $f$ w.r.t. $h$. So I just tried to get the expression of the function using the codes f[x_]=Fit[data,{1,x,x^2},x] ...
supragyan priyadarshinee's user avatar
1 vote
1 answer
67 views

How do I put the PlotLabel inside the graph?

I have this code: ...
Victor Nielsen's user avatar
3 votes
1 answer
199 views

Axis Label 3D plot

I want to move the two horizontal axes closer to the axes keeping the same writing style (the label parallel to the axis), and also, the vertical axis should be parallel to the vertical label. Does ...
Nuzhat Anjum's user avatar
0 votes
0 answers
135 views

how to change colors in a list density plot

I have plotted a data set using a ListDensityPlot. ...
maddy's user avatar
  • 101
0 votes
1 answer
74 views

Fine-tune width of lines in a plot, option like PlotWidth

Is it possible to fine-tune the width of lines in a plot ? There are ways to control the width of lines in a plot : ...
imida k's user avatar
  • 4,295
1 vote
0 answers
156 views

Controlling behavior of LegendMarkerSize

I notice a strange behavior for the LegendMarkerSize while trying to adjust its size. ...
BabaYaga's user avatar
  • 1,888
2 votes
1 answer
149 views

Is there an alternative (instead of using Opacity) to obtain a clear parts for the overlapping area of three RegionPlots?

I want to combine three RegionPlot, and I need to do this in a way such that the overlapping and intersection parts of the plots are visible and clear. I use this ...
Martha97's user avatar
  • 349
0 votes
0 answers
25 views

When I save a RegionPlot result that I have used Opacity for its color, it contains redundant grid lines; how to get rid of them? [duplicate]

I am using RegionPlot and I want to use Opacity for the color transparency ...
Martha97's user avatar
  • 349
3 votes
2 answers
307 views

How to reverse the axis direction in the given plot and combine them?

I have these two plots ...
Martha97's user avatar
  • 349
1 vote
1 answer
85 views

How can I get rid of a part of the given plot?

Using this code ...
math2021's user avatar
  • 749
2 votes
1 answer
119 views

Is it possible to change the endpoints marker in NumberLinePlot in the given code?

I use this code ...
math2021's user avatar
  • 749
2 votes
0 answers
69 views

Inconsistent behavior of theme "Monochrome"

I am reporting inconsistent behavior of the "Monochrome" theme through this post when using a GrayLevel[] background. I am using version 12.2.0 Win7-x64. ...
Syed's user avatar
  • 55.4k
1 vote
0 answers
92 views

How can I make my plot like this plot style picture [closed]

I would like to have all of my plots like this picture here, How I should add such as PlotStyle -> , PlotTheme -> and AxesLabel -> etc,.. I would like to see for this example Sin[x], Sin[2x], ...
M.S MD's user avatar
  • 75
5 votes
4 answers
282 views

DensityPlot3D with clear division negative/positive value but also value dependent

It is easy to obtain a clear positive/negative boundary, with, exemplary ColorFunction -> Function[{f}, If[f > 0, Red, Blue]] Do you have an idea how I can ...
Agnieszka's user avatar
  • 697
0 votes
0 answers
99 views

How adjust the ratio between the units of axes?

Initially I thought that the function AspectRatio-> calibrated the ratio between the units axes, e.g. putting AspectRatio->1/2 I thought that the ratio x:y between units of the axes would be 1:2,...
Antonio Maria Di Mauro's user avatar
0 votes
0 answers
105 views

Is possible to put multiple independent legends into Graphics?

In the following Graphics I'd like put on the left and below another legend where I indicated the scale of the plot: I tried to do this putting into Inset the command PlotLegends->{} but ...
Antonio Maria Di Mauro's user avatar
1 vote
1 answer
363 views

How put a value in a legend

I am trying to put in a legend a value calculated previously but as you can see by your self the output is so stranger. ...
Antonio Maria Di Mauro's user avatar