Questions tagged [plot-themes]
Questions on PlotTheme and styling plots.
188
questions
2
votes
2
answers
119
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.
...
3
votes
2
answers
117
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 ...
2
votes
1
answer
103
views
Why axes arrows are not present? [closed]
Consider some test data
...
3
votes
1
answer
191
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 ...
1
vote
1
answer
39
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.
...
3
votes
2
answers
164
views
3
votes
1
answer
83
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 ...
8
votes
5
answers
439
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 ...
0
votes
1
answer
64
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
...
3
votes
1
answer
73
views
LineLegend can't draw rounded dashes?
I have a plot with rounded dashes, but LineLegend seems to be unable to draw them.
...
1
vote
1
answer
38
views
How to Plot Specific ListContourPlot?
I would like to plot the following list
...
0
votes
1
answer
51
views
3
votes
1
answer
76
views
Is it possible to ask Mathematica to crop only the red area in the given code?
I am using this code
...
4
votes
1
answer
149
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 ...
2
votes
1
answer
83
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 :
...
4
votes
1
answer
125
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:
...
1
vote
1
answer
84
views
How to remove particular mesh points in the given plot?
I am using this code
...
7
votes
3
answers
216
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 ...
1
vote
0
answers
63
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 ...
1
vote
1
answer
56
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 ...
0
votes
0
answers
53
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 ...
-1
votes
3
answers
92
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] ...
1
vote
1
answer
53
views
How do I put the PlotLabel inside the graph?
I have this code:
...
3
votes
1
answer
158
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 ...
0
votes
0
answers
102
views
how to change colors in a list density plot
I have plotted a data set using a ListDensityPlot.
...
0
votes
1
answer
71
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 :
...
1
vote
0
answers
146
views
Controlling behavior of LegendMarkerSize
I notice a strange behavior for the LegendMarkerSize while trying to adjust its size.
...
2
votes
1
answer
131
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 ...
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
...
3
votes
2
answers
255
views
How to reverse the axis direction in the given plot and combine them?
I have these two plots
...
1
vote
1
answer
76
views
How can I get rid of a part of the given plot?
Using this code
...
2
votes
1
answer
99
views
2
votes
0
answers
67
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.
...
1
vote
0
answers
87
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], ...
5
votes
4
answers
260
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 ...
0
votes
0
answers
95
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,...
0
votes
0
answers
84
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 ...
1
vote
1
answer
254
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.
...
5
votes
0
answers
90
views
MoleculePlot is completely unfunctional when DefaultStyleDefinitions sets to ReverseColor.nb [duplicate]
If you set the DefaultStyleDefinitions sets to ReverseColor.nb
then when you try to execute the example from the MoleculePlot document,
your MoleculePlot will have blank result like
even if you ...
-3
votes
1
answer
78
views
Combining a BubbleChart with a MatrixPlot
Is there a way I can combine a BubbleChart with a MatrixPlot? I already plotted a MatrixPlot ...
9
votes
3
answers
271
views
How to make callouts match the color of their target items?
How to make callouts in a bubble chart in the same style as below? Specifically, I'd like to know how to make the callout stems match their target bubble colors (automatically).
What I've tried:
<...
1
vote
0
answers
29
views
Plotting arrays with increasing color intensity in ListPlot [duplicate]
Suppose I have a few 2-dimensional arrays I want to plot together,
ListPlot[{arr1,arr2,arr3,arr4...}]
I would like to give each one a different shade of the same ...
3
votes
4
answers
247
views
How can I ask Mathematica to repeat a part of the given plot over the domain?
I have this function
$$10x^2-5x+2,$$
I plot it on the domain $(0,2)$ and this is the result
As can be seen, the function is symmetric over the domain $(0,0.5)$.
How can I ask Mathematica to give me a ...
2
votes
0
answers
125
views
Default color scheme of Spectrogram
Spectrograms seem to use the "SunsetColors" color scheme. That being said, I can't figure out exactly how it is being applied; the ...
1
vote
2
answers
180
views
HatchFilling in Mathemathica fills the entire are under curve
The Hatchfilling command is failing for me, i want to fill the area under the curve with vertical lines. If any suggestions plz do share. Thankyou.
0
votes
0
answers
122
views
RegionPlot3D problem with PlotStyle
Been having a problem with RegionPlot3D.
Let's say I want to plot a cube like this
...
3
votes
1
answer
146
views
Colouring components of ContourPlot
I am trying to use different colours to plot components of a ContourPlot in Mathematica. The contours are sufficiently complicated, such that I do not expect there ...
2
votes
1
answer
79
views
How to plot solutions of a 3-variable equation, two variables normally, and the third one to change with colors? [duplicate]
I have this three variable equation
$$4 \sinh (2 y) \cosh (z-x)+5 \sin (2 x-y)-6 x+y+3 \cosh (2 z)=0$$
where
$$0<x<4\;,\qquad-3<y<0\;,\qquad0<z<2$$
I want to have a continuous plot (...
0
votes
1
answer
300
views
Is it possible to plot a 3-variable function, two variables normally, and the third one to change with color?
I have a function like
$$f(x,y,z)=4 \sinh (2 y) \cosh (z-x)+5 \sin (2 x-y)-6 x+y+3 \cosh (2 z)$$
where
$$0<x<4\;,\qquad-3<y<0\;,\qquad0<z<2$$
I would like to have a plot of this ...
0
votes
1
answer
434
views
Plot legend markers with type of line
I want to put the markers symbol and the line type together in the Plotlegend.
I have used the following code
...