Skip to main content
added 35 characters in body; edited title
Source Link

Change color of a plot without processing it all the timestime

I have to do a RegionPlotRegionPlot of this strange function

func =  (x y)^2/z^2 Abs[1 - 1/(x)^2] < 1/(210)^2;

I do it with

plotFunc = RegionPlot[func  /. z -> 10, {x, -1, 1}, {y, -1, 1}, PerformanceGoalBoundaryStyle -> "Quality"None, 
 PlotPoints                     PerformanceGoal -> 250"Quality", BoundaryStylePlotPoints -> None]250]

where I needed the PerformanceFoalPerformanceGoal and PlotPointsPlotPoints to improve the quality of my plot.

Now, I have to overlap plots of this kind for different values of $z$ but I am not sure of the set of color to use, I would like to just change the color at the end, when I'll do the Overlap[...]Overlap[...] or Show[...]Show[...]

Mathematica takes 13 secs to do the plot. I

Is there a way to let Mathematica process the points of the plot once for all and then change quickly the color without wasting 13 secs of my time everytimeevery time I want just to change the color?

I hope my question is clear.

Change color of a plot without processing it all the times

I have to do a RegionPlot of this strange function

func =  (x y)^2/z^2 Abs[1 - 1/(x)^2] < 1/(210)^2;

I do it with

plotFunc = RegionPlot[func  /. z -> 10, {x, -1, 1}, {y, -1, 1}, PerformanceGoal -> "Quality", PlotPoints -> 250, BoundaryStyle -> None]

where I needed the PerformanceFoal and PlotPoints to improve the quality of my plot.

Now, I have to overlap plots of this kind for different values of $z$ but I am not sure of the set of color to use, I would like to just change the color at the end, when I'll do the Overlap[...] or Show[...]

Mathematica takes 13 secs to do the plot. I

Is there a way to let Mathematica process the points of the plot once for all and then change quickly the color without wasting 13 secs of my time everytime I want just to change the color?

I hope my question is clear.

Change color of a plot without processing it all the time

I have to do a RegionPlot of this strange function

func =  (x y)^2/z^2 Abs[1 - 1/(x)^2] < 1/(210)^2;

I do it with

plotFunc = RegionPlot[func  /. z -> 10, {x, -1, 1}, {y, -1, 1}, BoundaryStyle -> None, 
                      PerformanceGoal -> "Quality", PlotPoints -> 250]

where I needed the PerformanceGoal and PlotPoints to improve the quality of my plot.

Now, I have to overlap plots of this kind for different values of $z$ but I am not sure of the set of color to use, I would like to just change the color at the end, when I'll do the Overlap[...] or Show[...]

Mathematica takes 13 secs to do the plot.

Is there a way to let Mathematica process the points of the plot once for all and then change quickly the color without wasting 13 secs of my time every time I want just to change the color?

I hope my question is clear.

deleted 1 character in body
Source Link
apt45
  • 1.7k
  • 9
  • 15

I have to do a RegionPlot of this strange function

func =  (x y)^2/z^2 Abs[1 - 1/(x)^2)]^2] < 1/(210)^2;

I do it with

plotFunc = RegionPlot[func  /. z -> 10, {x, -1, 1}, {y, -1, 1}, PerformanceGoal -> "Quality", PlotPoints -> 250, BoundaryStyle -> None]

where I needed the PerformanceFoal and PlotPoints to improve the quality of my plot.

Now, I have to overlap plots of this kind for different values of $z$ but I am not sure of the set of color to use, I would like to just change the color at the end, when I'll do the Overlap[...] or Show[...]

Mathematica takes 13 secs to do the plot. I

Is there a way to let Mathematica process the points of the plot once for all and then change quickly the color without wasting 13 secs of my time everytime I want just to change the color?

I hope my question is clear.

I have to do a RegionPlot of this strange function

func =  (x y)^2/z^2 Abs[1 - 1/(x)^2)] < 1/(210)^2;

I do it with

plotFunc = RegionPlot[func  /. z -> 10, {x, -1, 1}, {y, -1, 1}, PerformanceGoal -> "Quality", PlotPoints -> 250, BoundaryStyle -> None]

where I needed the PerformanceFoal and PlotPoints to improve the quality of my plot.

Now, I have to overlap plots of this kind for different values of $z$ but I am not sure of the set of color to use, I would like to just change the color at the end, when I'll do the Overlap[...] or Show[...]

Mathematica takes 13 secs to do the plot. I

Is there a way to let Mathematica process the points of the plot once for all and then change quickly the color without wasting 13 secs of my time everytime I want just to change the color?

I hope my question is clear.

I have to do a RegionPlot of this strange function

func =  (x y)^2/z^2 Abs[1 - 1/(x)^2] < 1/(210)^2;

I do it with

plotFunc = RegionPlot[func  /. z -> 10, {x, -1, 1}, {y, -1, 1}, PerformanceGoal -> "Quality", PlotPoints -> 250, BoundaryStyle -> None]

where I needed the PerformanceFoal and PlotPoints to improve the quality of my plot.

Now, I have to overlap plots of this kind for different values of $z$ but I am not sure of the set of color to use, I would like to just change the color at the end, when I'll do the Overlap[...] or Show[...]

Mathematica takes 13 secs to do the plot. I

Is there a way to let Mathematica process the points of the plot once for all and then change quickly the color without wasting 13 secs of my time everytime I want just to change the color?

I hope my question is clear.

added 3 characters in body
Source Link
apt45
  • 1.7k
  • 9
  • 15

I have to do a RegionPlot of this strange function

func =  (x y)^2/z^2 Abs[1 - 1/(x)^2)] < 1/(210)^2;

I do it with

PlotplotFunc = RegionPlot[functRegionPlot[func  /. z -> 10, {x, -1, 1}, {y, -1, 1}, PerformanceGoal -> "Quality", PlotPoints -> 250, BoundaryStyle -> None]

where I needed the PerformanceFoal and PlotPoints to improve the quality of my plot.

Now, I have to overlap plots of this kind for different values of $z$ but I am not sure of the set of color to use, I would like to just change the color at the end, when I'll do the Overlap[...] or Show[...]

Mathematica takes 13 secs to do the plot. I

Is there a way to let Mathematica process the points of the plot once for all and then change quickly the color without wasting 13 secs of my time everytime I want just to change the color?

I hope my question is clear.

I have to do a RegionPlot of this strange function

func =  (x y)^2/z^2 Abs[1 - 1/(x)^2)] < 1/(210)^2;

I do it with

Plot = RegionPlot[funct  /. z -> 10, {x, -1, 1}, {y, -1, 1}, PerformanceGoal -> "Quality", PlotPoints -> 250, BoundaryStyle -> None]

where I needed the PerformanceFoal and PlotPoints to improve the quality of my plot.

Now, I have to overlap plots of this kind for different values of $z$ but I am not sure of the set of color to use, I would like to just change the color at the end, when I'll do the Overlap[...] or Show[...]

Mathematica takes 13 secs to do the plot. I

Is there a way to let Mathematica process the points of the plot once for all and then change quickly the color without wasting 13 secs of my time everytime I want just to change the color?

I hope my question is clear.

I have to do a RegionPlot of this strange function

func =  (x y)^2/z^2 Abs[1 - 1/(x)^2)] < 1/(210)^2;

I do it with

plotFunc = RegionPlot[func  /. z -> 10, {x, -1, 1}, {y, -1, 1}, PerformanceGoal -> "Quality", PlotPoints -> 250, BoundaryStyle -> None]

where I needed the PerformanceFoal and PlotPoints to improve the quality of my plot.

Now, I have to overlap plots of this kind for different values of $z$ but I am not sure of the set of color to use, I would like to just change the color at the end, when I'll do the Overlap[...] or Show[...]

Mathematica takes 13 secs to do the plot. I

Is there a way to let Mathematica process the points of the plot once for all and then change quickly the color without wasting 13 secs of my time everytime I want just to change the color?

I hope my question is clear.

edited tags
Link
Loading
Source Link
apt45
  • 1.7k
  • 9
  • 15
Loading