ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 11 Nov 2020 02:48:58 +0100plot does not gibe with solve for log equationshttps://ask.sagemath.org/question/54209/plot-does-not-gibe-with-solve-for-log-equations/ If I plot two log equations in x and y I get an obvious intersection, but when I try solve on them I get nothing. Is there a way to get a mathematical solution that gibes with the plot?
var('x y')
implicit_plot(log(x*sqrt(y)),(x,0,8),(y,0,8),color="black") + implicit_plot(log(x^2*y^2),(x,0,8),(y,0,8),color="red")
solve(log(x*sqrt(y)) == log(x^2*y^2),x,y)
[]
![image description](/upfiles/16050592939713841.png)cybervigilanteWed, 11 Nov 2020 02:48:58 +0100https://ask.sagemath.org/question/54209/Solid lines in plot and grid lineshttps://ask.sagemath.org/question/9244/solid-lines-in-plot-and-grid-lines/I have a plot which sweeps over a range shown below and the plots it on a log scale on the horizontal axis (I am using 5.2 so the log scale feature is present).
1. However, rather than points, I would like to see a solid line and,
2. Some grid lines on both the horizontal and vertical axis at the tick points.
3. Is there also a way to control the range on the vertical axis?
Here is the entire formulation. The range on the y-axis I would like to see labeled is from -5 to -25. I asked a question before using the formulation below but the scale did not was off due to the wrong operator being used so I did not ask that particular question at the time:
z1=2 * pi * 650 * 10^6
p1=2 * pi * 1.9 * 10^9
p2=2 * pi * 5 * 10^9
adc=.667
deltaF=.2 * 10^9
N=(adc * p1 * p2)/z1
M(freq)=(-2 * i * pi * freq + z1)/((-2 * i * pi * freq+p1) * (-2 * i * pi * freq+p2))
g(frq)=20 * abs(log(N * M(frq),10))
pts=[(frq,g(frq).n()) for frq in srange(10^8,10^11,deltaF)]
list_plot(pts, scale='semilogx')gjmThu, 16 Aug 2012 11:42:11 +0200https://ask.sagemath.org/question/9244/Plotting a loglogplothttps://ask.sagemath.org/question/8322/plotting-a-loglogplot/is there a way to create a *loglogplot*? (a 2D plot that has *both axes logarithmically scaled*)
I've found links to there bugs ([0](http://trac.sagemath.org/sage_trac/ticket/4529), [1](http://trac.sagemath.org/sage_trac/ticket/1431)), but this hasn't been much helpful.
OndraFri, 16 Sep 2011 15:27:18 +0200https://ask.sagemath.org/question/8322/ploting problemshttps://ask.sagemath.org/question/8260/ploting-problems/I want to do the plot of: log (y) vs log (x), when y = log (x) and x is between (1,150), so I tried:
sage: var ('x,y')
(x, y)
sage: y = function ('y',x)
sage: y = x^2
sage: plot (log(y), (log(x), 1,150))
but the final result that I found is wrong (I did the real plot using openoffice and gnuplot), so finally someone could you help me to solve this problem?milofisThu, 25 Aug 2011 14:20:09 +0200https://ask.sagemath.org/question/8260/