Question: I have

```
def f(x):
    return (x**2 / 10) - 2 * np.sin(x)

def plot_fn():
    x = np.arange(-10, 10, 0.1)
    fn = f(x)

    fig = plt.figure()
    ax = fig.add_subplot(1, 1, 1)

    # Move left y-axis and bottim x-axis to centre, passing through (0,0)
    ax.spines['left'].set_position('center')
    ax.spines['bottom'].set_position('center')

    # Eliminate upper and right axes
    ax.spines['right'].set_color('none')
    ax.spines['top'].set_color('none')

    # Show ticks in the left and lower axes only
    ax.xaxis.set_ticks_position('bottom')
    ax.yaxis.set_ticks_position('left')

    plt.plot(x, fn)
    plt.show()

```

I also want to plot some points on the graph as well. For example, when `x` is 0, then the `y` is -4.49. So I want to plot a list of `x,y` points. How can I do this on the same plot?

Answer: 
Had the same problem, making the file executable fixed the problem for me:

`sudo chmod +x arcoreimg`
**Step 1:** Give read/write access to your tool. Open your arcoreimg directory from terminal. And give following command

```
sudo chmod +x arcoreimg

```

**Step 2:** Copy your images in one folder

**Step 3:** Create one empty output folder

**Step 4:** Give following command

```
./arcoreimg build-db --input_images_directory="yourInputDirectoryPath"  --output_db_path="yourOutputDirectoryPath/databaseName.imgdb"

```

Sample command

```
./arcoreimg build-db --input_images_directory=/Users/ranjithkumar/Desktop/input_images  --output_db_path=/Users/ranjithkumar/Desktop/output_db/myImages.imgdb

```