How to create a graphic from a formula y = f(x) - not from a table

Your link shows a login page only…

Oups, my mistake (again !)
I need to note, in the url, the keyword “share” !

https://chat.openai.com/share/8ad42bc5-b9ab-48f5-af26-ab7f11cf78f2

Thank you for your interest. See my post on this topic.

José from France

The linked page shows how you can create a table from a formula, and then how you can create a graph based on the data table.

But, the original poster want to create a graph based on a formula, without creating a data table.
It is related to the fact: the calc has not function “EVALUATE()”. you must handle the textual FORMULA by some Macro tricks.

2 Likes

Yes @Zizi64
that is why I have to refresh my Python and see how to do that with Python macros :slight_smile:
I’ve been unable to make BASIC macros working :slight_smile:

By way, see the follow is here :slight_smile: How to get hatching on an LO Calc diagram. See my try

Have a nice day, José

???
A solution to the original question will neither be found (or much simplified) by the usage of Python or C# or whatever language, but needs to be based on a good understanding of how Chart objects are treated with the help of API services and interfaces.

My old comment from 2023-07-30 should give the needed hints.
Howsoever: The reasonable way to get the chart is to calculate the needed data in an additional sheet of the spreadsheet document.
After all the question was asked with the tag “calc”, but even if the chart is needed for a Writer or a Draw document the usage of an intermediary Calc document should be advantageous…

1 Like

Thank you for the time and interest.

I will try soon, I didn’t miss to share here the result.

Have a good time @Lupp

Just to mention that my aim is a curve with dynamics hatching area :slight_smile:
See here: How to get hatching on an LO Calc diagram. See my try