# Create a logarithmic plot with ErrorBarLogLinearPlots

**URL:** <https://community.wolfram.com/t/create-a-logarithmic-plot-with-errorbarloglinearplots/15233>\
**Category:** Questions\
**Tags:** graphics-and-visualization\
**Created:** [January 12, 2020, 8:46am UTC](https://community.wolfram.com/t/create-a-logarithmic-plot-with-errorbarloglinearplots/15233 "2020-01-12T08:46:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![elhamjamshidi22](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@elhamjamshidi22](https://community.wolfram.com/u/elhamjamshidi22)\
**Post date:** [January 12, 2020, 8:46am UTC](https://community.wolfram.com/t/create-a-logarithmic-plot-with-errorbarloglinearplots/15233/1 "2020-01-12T08:46:06Z")

</div>

Hi All

According to the file I sent you

I want the x axis to be logarithmic.

Please help me because I have a big problem  
To advance the thesis

[Elham-1.nb](https://community.wolfram.com/uploads/short-url/g9jDT6ZqczEg5vZHSjc4zLIUIIp.nb) (13.2 KB)

---

<div class="post-metadata">

**Author:** ![rohitnamjoshi](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rohitnamjoshi](https://community.wolfram.com/u/rohitnamjoshi)\
**Post date:** [January 12, 2020, 4:04pm UTC](https://community.wolfram.com/t/create-a-logarithmic-plot-with-errorbarloglinearplots/15233/2 "2020-01-12T16:04:13Z")

</div>

Hi Elham,

I have attached an updated notebook that does what I think you want.

[Elham-1-1.nb](https://community.wolfram.com/uploads/short-url/qB3PYTFFyd2lprrgBQeoHvYqKDs.nb) (50.2 KB)

---

<div class="post-metadata">

**Author:** ![elhamjamshidi22](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@elhamjamshidi22](https://community.wolfram.com/u/elhamjamshidi22)\
**Post date:** [January 12, 2020, 6:25pm UTC](https://community.wolfram.com/t/create-a-logarithmic-plot-with-errorbarloglinearplots/15233/3 "2020-01-12T18:25:35Z")

</div>

Hi thank you for your help.  
Hope my problem  
Resolve with this file.  
Can I email again if there is a problem?

---

<div class="post-metadata">

**Author:** ![rohitnamjoshi](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rohitnamjoshi](https://community.wolfram.com/u/rohitnamjoshi)\
**Post date:** [January 12, 2020, 9:36pm UTC](https://community.wolfram.com/t/create-a-logarithmic-plot-with-errorbarloglinearplots/15233/4 "2020-01-12T21:36:22Z")

</div>

Sure.

My guess is that you want to fit this data to some expected function. I tried fitting to `a + b log(x)`, it is a pretty good fit. See attached.

[Elham-1-2.nb](https://community.wolfram.com/uploads/short-url/uwUrR3Denrlp7pT87sLPGm50eUQ.nb) (130 KB)

---

<div class="post-metadata">

**Author:** ![elhamjamshidi22](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@elhamjamshidi22](https://community.wolfram.com/u/elhamjamshidi22)\
**Post date:** [January 13, 2020, 10:44am UTC](https://community.wolfram.com/t/create-a-logarithmic-plot-with-errorbarloglinearplots/15233/5 "2020-01-13T10:44:33Z")

</div>

Hi my problem was solved for drawing them. Just this was for one of the experimental data.  
Now for the whole data set  
Do I use the same codes?

---

<div class="post-metadata">

**Author:** ![elhamjamshidi22](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@elhamjamshidi22](https://community.wolfram.com/u/elhamjamshidi22)\
**Post date:** [January 13, 2020, 11:42am UTC](https://community.wolfram.com/t/create-a-logarithmic-plot-with-errorbarloglinearplots/15233/6 "2020-01-13T11:42:04Z")

</div>

Hi Mr Rohit,  
The second file you sent  
The chart in the fit section failed and could not be drawn.  
Error from this line on  
fit = NonlinearModelFit[values, a + b Log[x], {a, b}, x,  
Weights → weights,  
VarianceEstimatorFunction → (1 &)]  
No output  
Can you help me?

---

<div class="post-metadata">

**Author:** ![rohitnamjoshi](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rohitnamjoshi](https://community.wolfram.com/u/rohitnamjoshi)\
**Post date:** [January 13, 2020, 2:39pm UTC](https://community.wolfram.com/t/create-a-logarithmic-plot-with-errorbarloglinearplots/15233/7 "2020-01-13T14:39:48Z")

</div>

What is the error? Did you evaluate all of the preceding cells in the notebook?

---

<div class="post-metadata">

**Author:** ![elhamjamshidi22](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@elhamjamshidi22](https://community.wolfram.com/u/elhamjamshidi22)\
**Post date:** [January 13, 2020, 8:12pm UTC](https://community.wolfram.com/t/create-a-logarithmic-plot-with-errorbarloglinearplots/15233/8 "2020-01-13T20:12:00Z")

</div>

Hi.  
My thesis professor gave me their own experimental data.  
That in the old version of Metmatica  
Applicable  
In version 12 of Mathmatica  
Must of  
Use the command you gave.  
But it’s a command for a data  
My thesis master says they should  
Run for all data.  
That gives error and  
It only draws a logarithmic graph.  
But my master  
He wants three diagrams  
I’ll send you the photo.  
Since the  
I’m not allowed  
Master thesis experimental data  
Send it to someone  
I don’t know how to solve my problem!  
(The photo I sent is a photo of the charts  
That Master Thesis  
He wants me)

 ![3.PNG](https://global.discourse-cdn.com/wolfram/original/2X/d/d04c5822922208896ee620430cc9ce5ffdcae2d8.png)
