LOG based X and Y graphs

LOG based X and Y graphs - How to create Log based XY graphs - Сообщения

#1 Опубликовано: 21.01.2020 00:27:40
bocatto

bocatto

0 сообщений из 11 понравились пользователям.

Группа: User

HI Everyone!

I am attempting to recreate these two graphs seen here[albumimg]1598[/albumimg][albumimg]1601[/albumimg]
These both come from my source material that may be found here:

Source App Note

Thus far I have followed the app note exactly (to ensure I have something to check against), however I am having difficulty getting my graphs to mirror those of the APP note. Namely my Gain plot seen here:[albumimg]1599[/albumimg]
This Gain plot seems to be negated from what I would expect.

The Impedance Plot seen here:
[albumimg]1600[/albumimg]
Is right in line with what I would expect however I am unable to figure out how to make the Log ohms Y axis and Log frequency based X axis.

My file may be found here:HELPED_Input_Filter_Test_V1.sm (181 КиБ) скачан 44 раз(а).

Thank you all in advance,
Carlo
#2 Опубликовано: 21.01.2020 10:31:29
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

1. The APP notes were done Mathcad 8 or later 2001i, 11
from lazy grid colors [horrible green].
2. First graph as before.
3. Not visible math expressions are for recycle bin.
4. NEVER carry units in maths as they are unit less.
5. Smath is not Mathcad clone.
6. Maybe your construction is not correct wrt APP Notes ???
I didn't check that ...

2DPlots ZedGraph log-log.sm (100 КиБ) скачан 85 раз(а).

HELPED_Input_Filter_Test_V1 ... first graph doctored.sm (187 КиБ) скачан 53 раз(а).
1 пользователям понравился этот пост
bocatto 13.02.2020 23:27:00
#3 Опубликовано: 29.01.2020 05:14:16
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

The Maxima plugin provides an interface to Gnuplot. This can be used to come pretty close to Mathcad plots.
You can set the minor grid to gray and remove the dashed line style, to have a more SMath-like appearance.
Note that the Draw2D() command is written in the input placeholder of an image region.

2020-01-29 09_04_46-SMath Studio 0.99.7251 - [HELPED_Input_Filter_Test_V1_Kr.sm_].png
HELPED_Input_Filter_Test_V1_Kr.sm (353 КиБ) скачан 71 раз(а).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
4 пользователям понравился этот пост
NDTM Amarasekera 29.01.2020 06:38:00, Peter J Francis 29.01.2020 09:08:00, frapuano 29.01.2020 05:25:00, bocatto 13.02.2020 23:27:00
#4 Опубликовано: 29.01.2020 13:01:59
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

HI Everyone!


1. You refer to an application from source and the
first thing you do is freak the variables from source ... Why ?
2. Mathcad 8 was index ... like you try to imitate,
that's retarded because Smath is already in argument style s(j)
The main change from Mathcad 8 => 2001i was the change from
s[i [index style] => argument style s(j)
3. I couldn't make Zgraph work [spooky plugin]
... from there, some Collab might help ?

HELPED_Input_Filter_Test_V1 ... first graph doctored NEW.sm (125 КиБ) скачан 45 раз(а).
1 пользователям понравился этот пост
bocatto 13.02.2020 23:27:00
#5 Опубликовано: 29.01.2020 22:35:20
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Wrote

HI Everyone!
...

This Gain plot seems to be negated from what I would expect.
...



Hi Carlo. That's because you take log10 in the y-axis before plotting. I put images in the other post. Check the green lines in Mathcad plots. First plot isn't in log scale in the y-axis.

Best regards.
Alvaro
1 пользователям понравился этот пост
bocatto 13.02.2020 23:27:00
#6 Опубликовано: 30.01.2020 11:05:12
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

This Gain plot seems to be negated from what I would expect.


You mean IMPEDANCE plot as per MCD 8
Impedance plot has a part negative from its quadratic.

next.PNG

HELPED_Input_Filter_Test_V1 ... first graph doctored NEW...next.sm (127 КиБ) скачан 35 раз(а).

1 пользователям понравился этот пост
bocatto 13.02.2020 23:27:00
#7 Опубликовано: 30.01.2020 12:58:53
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... I will leave it there ... which one of the 3 plots.
loglog plot is freaked to me [personal].

HELPED_Input_Filter_Test_V1 ... first graph doctored NEW...next.sm (132 КиБ) скачан 72 раз(а).
1 пользователям понравился этот пост
bocatto 13.02.2020 23:27:00
#8 Опубликовано: 13.02.2020 23:36:00
bocatto

bocatto

0 сообщений из 11 понравились пользователям.

Группа: User

Well Guys after ALOT of struggling with Maxima (Which for whatever reason isnt working for me) I finally got ZEDgraph to work for me!

The Finished Document may be found here:SMPS_Input_Filter_Design_TI_APP_Note.sm (555 КиБ) скачан 210 раз(а).
And I was finally able to recreate the graphs!

[albumimg]1608[/albumimg]

[albumimg]1598[/albumimg]

[albumimg]1607[/albumimg]

[albumimg]1606[/albumimg]


Again this is pretty much a direct recreation of the TI App note, but it served for a great learning experience!

I will be sure to PROPERLY post it under the samples area along with the app note

Thank you guys again!!! (Especially Jean/Razonar)
#9 Опубликовано: 13.02.2020 23:38:17
bocatto

bocatto

0 сообщений из 11 понравились пользователям.

Группа: User

Wrote

... I will leave it there ... which one of the 3 plots.
loglog plot is freaked to me [personal].

HELPED_Input_Filter_Test_V1 ... first graph doctored NEW...next.sm (132 КиБ) скачан 72 раз(а).



Well it turns out that I was taking a doulbe LOG of the graph! Silly Me!
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений