I have ReImPlot plots that show the dependence of the variable V0, V-1 on sigma (conductivity), chi0, chi-1 on sigma. I have the equations for them fully written in the program, which include common variables that are not changed in the program. If to use short equations (as it was shown above in the program, for example for V0, V1), then ReImPlot will not build the graph correctly, and will build straight lines (that is there will be no dependence between these variables).
How can I pull the actual values of V0 (red line on the graph) and the corresponding sigma value from the graph in some increments (0, 5000, 10000, 15000) (with the increment being the sigma variable itself)?
lines = Cases[PlotV, Line[p_] :> p, Infinity] returns the xy-coordinate tables for all four lines.
lines[[1]]is the real part of function 1;lines[[2]]is the real part of function 2;lines[[3]]is the imaginary part of function 1;lines[[4]]is the imaginary part of function 2.
The actual values of σ will probably seem random, and determining which to keep and which to discard takes more work.
However, Table[{σ, f[σ]}, {σ, 0, 20000, 5000}], where f[σ] is the function expression, seems easier. Consider also Table[{σ, Re[f[σ]]}, {σ, 0, 20000, 5000}] and Table[{σ, Im[f[σ]]}, {σ, 0, 20000, 5000}], if you want the real and imaginary parts separately.
Can you explain what function do you mean by ‘function expression’ please? Also, when I executing Table[{σ, f[σ]}, {σ, 0, 20000, 5000}], I get:
{{0, Re[f[0]]}, {5000, Re[f[5000]]}, {10000, Re[f[10000]]}, {15000,
Re[f[15000]]}, {20000, Re[f[20000]]}}
Is this correct?
I think it is dangerous to give a numerical value to sigma, and then to use sigma as a free variable.